public interface MessageSender
Modifier and Type | Method and Description |
---|---|
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.
|
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 millisecondsException
- for any errororg.jgroups.Address getAddress()
org.jgroups.View getView()
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved