|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageSender
Abstract away message submission.
Method Summary | |
---|---|
org.jgroups.Address |
getAddress()
Get sender's address. |
org.jgroups.View |
getView()
Get current view. |
void |
send(org.jgroups.Message message,
boolean synchronous,
long messageTimeout)
Send message. |
void |
stop()
Stop sender. |
Method Detail |
---|
void stop()
void send(org.jgroups.Message message, boolean synchronous, long messageTimeout) throws Exception
message
- the JGroups messagesynchronous
- set to true if we need to block until an ACK is receivedmessageTimeout
- in milliseconds
Exception
- for any errororg.jgroups.Address getAddress()
org.jgroups.View getView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |