Uses of Class
org.jgroups.Message
Packages that use Message
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides building blocks that are layered on top of channels.
Provides demonstrations of JGroups functionality.
A distributed whiteboard applet implemented using JGroups.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of Message in org.jgroups
Methods in org.jgroups that return MessageModifier and TypeMethodDescriptionMessage.copy()
Message.copy
(boolean copy_buffer) Create a copy of the message.Message.makeReply()
Methods in org.jgroups with parameters of type MessageModifier and TypeMethodDescriptionvoid
void
Called when a message is received.void
abstract void
Sends a message to a (unicast) destination.void
Sends a message through the protocol stack.void
-
Uses of Message in org.jgroups.auth
Methods in org.jgroups.auth with parameters of type MessageModifier and TypeMethodDescriptionabstract boolean
AuthToken.authenticate
(AuthToken token, Message msg) This method should be implemented to perform the actual authentication of joining members.boolean
FixedMembershipToken.authenticate
(AuthToken token, Message msg) boolean
MD5Token.authenticate
(AuthToken token, Message msg) boolean
SimpleToken.authenticate
(AuthToken token, Message msg) boolean
X509Token.authenticate
(AuthToken token, Message msg) -
Uses of Message in org.jgroups.blocks
Fields in org.jgroups.blocks declared as MessageMethods in org.jgroups.blocks with parameters of type MessageModifier and TypeMethodDescriptionvoid
MessageDispatcher.castMessage
(Vector dests, long req_id, Message msg, RspCollector coll) Multicast a message request to all members indests
and receive responses via the RspCollector interface.MessageDispatcher.castMessage
(Vector dests, Message msg, int mode, long timeout) MessageDispatcher.castMessage
(Vector dests, Message msg, int mode, long timeout, boolean use_anycasting) Cast a message to all members, and wait formode
responses.MessageDispatcher.castMessage
(Vector dests, Message msg, int mode, long timeout, boolean use_anycasting, RspFilter filter) RpcDispatcher.castMessage
(Vector dests, Message msg, int mode, long timeout) Message contains MethodCall.protected void
PullPushAdapter.handleMessage
(Message msg) Deprecated.Check whether the message has an identifier.protected void
RequestCorrelator.handleRequest
(Message req, RequestCorrelator.Header hdr) Handle a request msg for this correlatorvoid
Deprecated.void
void
void
Receive message from group.void
void
void
Deprecated.void
Callback.void
Receive the message.boolean
RequestCorrelator.receiveMessage
(Message msg) Handles a message coming from a layer belowvoid
void
PullPushAdapter.send
(Serializable identifier, Message msg) Deprecated.Sends a message to the group - listeners to this identifier will receive the messages.void
Deprecated.Sends a message with no identifier; listener member will get this message on the other group members.MessageDispatcher.sendMessage
(Message msg, int mode, long timeout) Sends a message to a single member (destination = msg.dest) and returns the response.RpcDispatcher.sendMessage
(Message msg, int mode, long timeout) void
RequestCorrelator.sendRequest
(long id, List<Address> dest_mbrs, Message msg, RspCollector coll) void
RequestCorrelator.sendRequest
(long id, List<Address> dest_mbrs, Message msg, RspCollector coll, boolean use_anycasting) Send a request to a group.void
RequestCorrelator.sendRequest
(long id, Message msg, RspCollector coll) Helper method forRequestCorrelator.sendRequest(long,List,Message,RspCollector)
.Constructors in org.jgroups.blocks with parameters of type MessageModifierConstructorDescriptionGroupRequest
(Message m, RequestCorrelator corr, Vector<Address> members, int rsp_mode) GroupRequest
(Message m, RequestCorrelator corr, Vector<Address> members, int rsp_mode, long timeout, int expected_mbrs) GroupRequest
(Message m, Transport transport, Vector<Address> members, int rsp_mode) GroupRequest
(Message m, Transport transport, Vector<Address> members, int rsp_mode, long timeout, int expected_mbrs) -
Uses of Message in org.jgroups.demos
Methods in org.jgroups.demos with parameters of type Message -
Uses of Message in org.jgroups.demos.wb
Methods in org.jgroups.demos.wb with parameters of type Message -
Uses of Message in org.jgroups.jmx
Methods in org.jgroups.jmx with parameters of type Message -
Uses of Message in org.jgroups.mux
Methods in org.jgroups.mux with parameters of type Message -
Uses of Message in org.jgroups.protocols
Methods in org.jgroups.protocols that return MessageModifier and TypeMethodDescriptionTransportedVectorTime.getAssociatedMessage()
Returns a message associated with this vector timestamp.Methods in org.jgroups.protocols with parameters of type MessageModifier and TypeMethodDescriptionvoid
BasicTCP.postUnmarshalling
(Message msg, Address dest, Address src, boolean multicast) void
LOOPBACK.postUnmarshalling
(Message msg, Address dest, Address src, boolean multicast) void
SHARED_LOOPBACK.postUnmarshalling
(Message msg, Address dest, Address src, boolean multicast) abstract void
TP.postUnmarshalling
(Message msg, Address dest, Address src, boolean multicast) void
TUNNEL.postUnmarshalling
(Message msg, Address dest, Address src, boolean multicast) void
UDP.postUnmarshalling
(Message msg, Address dest, Address src, boolean multicast) void
BasicTCP.postUnmarshallingList
(Message msg, Address dest, boolean multicast) void
LOOPBACK.postUnmarshallingList
(Message msg, Address dest, boolean multicast) void
SHARED_LOOPBACK.postUnmarshallingList
(Message msg, Address dest, boolean multicast) abstract void
TP.postUnmarshallingList
(Message msg, Address dest, boolean multicast) void
TUNNEL.postUnmarshallingList
(Message msg, Address dest, boolean multicast) void
UDP.postUnmarshallingList
(Message msg, Address dest, boolean multicast) void
SMACK.retransmit
(long seqno, Message msg, Address dest) void
UNICAST.retransmit
(long seqno, Message msg) Called by AckSenderWindow to resend messages for which no ACK has been received yetprotected void
JMS.sendMessage
(Message msg) Publish message in the JMS topic.void
TransportedVectorTime.setAssociatedMessage
(Message owner) Sets a message associated with this vector timestamp -
Uses of Message in org.jgroups.stack
Fields in org.jgroups.stack declared as MessageModifier and TypeFieldDescriptionstatic final Message
NakReceiverWindow.NULL_MSG
dummy for null values: ConcurrentHashMap doesn't allow null valuesMethods in org.jgroups.stack that return MessageModifier and TypeMethodDescriptionNakReceiverWindow.get
(long seqno) Returns the message from xmit_tableAckSenderWindow.getLowestMessage()
Returns the message with the lowest seqnoAckReceiverWindow.remove()
Removes a message whose seqno is equal tonext_to_remove
, increments the latter.NakReceiverWindow.remove()
AckReceiverWindow.removeOOBMessage()
NakReceiverWindow.removeOOBMessage()
Methods in org.jgroups.stack with parameters of type MessageModifier and TypeMethodDescriptionvoid
Adds a new message to the hash table.boolean
Adds a new message.void
Adds a new message to the retransmission table.boolean
Adds a message according to its seqno (sequence number).void
AckMcastSenderWindow.RetransmitCommand.retransmit
(long seqno, Message msg, Address dest) Retranmit the given msgvoid
AckSenderWindow.RetransmitCommand.retransmit
(long seqno, Message msg) void
-
Uses of Message in org.jgroups.util
Methods in org.jgroups.util that return MessageModifier and TypeMethodDescriptionstatic Message
Util.byteBufferToMessage
(byte[] buffer, int offset, int length) Methods in org.jgroups.util that return types with arguments of type MessageModifier and TypeMethodDescriptionUtil.byteBufferToMessageList
(byte[] buffer, int offset, int length) Methods in org.jgroups.util with parameters of type MessageModifier and TypeMethodDescriptionstatic Buffer
Util.messageToByteBuffer
(Message msg) static String
Util.printMessage
(Message msg) Tries to read an object from the message's buffer and prints itstatic String
Util.printMethodCall
(Message msg) Tries to read aMethodCall
object from the message's buffer and prints it.Method parameters in org.jgroups.util with type arguments of type MessageModifier and TypeMethodDescriptionstatic Buffer
Util.msgListToByteBuffer
(List<Message> xmit_list) Marshalls a list of messages.