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 debug support, including testing, profiling, and a graphical view of a protocol stack.
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.copy(boolean copy_buffer, boolean copy_headers) Create a copy of the message.Message.copy(boolean copy_buffer, short starting_id) Doesn't copy any headers except for those with ID >= copy_headers_aboveMessage.makeReply()Methods in org.jgroups with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidCalled when a message is received.voidabstract voidSends a message to a (unicast) destination.voidSends 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 booleanAuthToken.authenticate(AuthToken token, Message msg) This method should be implemented to perform the actual authentication of joining members.booleanFixedMembershipToken.authenticate(AuthToken token, Message msg) booleanMD5Token.authenticate(AuthToken token, Message msg) booleanRegexMembership.authenticate(AuthToken token, Message msg) booleanSimpleToken.authenticate(AuthToken token, Message msg) booleanX509Token.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 TypeMethodDescriptionprotected GroupRequestMessageDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean block_for_results) MessageDispatcher.castMessage(Collection<Address> dests, Message msg, RequestOptions options) Sends a message to the members listed in dests.MessageDispatcher.castMessage(Vector dests, Message msg, int mode, long timeout) Deprecated.MessageDispatcher.castMessage(Vector dests, Message msg, int mode, long timeout, boolean use_anycasting) Deprecated.MessageDispatcher.castMessage(Vector dests, Message msg, int mode, long timeout, boolean use_anycasting, RspFilter filter) Deprecated.MessageDispatcher.castMessageWithFuture(Collection<Address> dests, Message msg, RequestOptions options) MessageDispatcher.castMessageWithFuture(Vector dests, Message msg, int mode, long timeout, boolean use_anycasting, RspFilter filter) Deprecated.Message contains MethodCall.protected voidPullPushAdapter.handleMessage(Message msg) Deprecated.Check whether the message has an identifier.protected voidRequestCorrelator.handleRequest(Message req, RequestCorrelator.Header hdr) Handle a request msg for this correlatorprotected voidRequestCorrelator.prepareResponse(Message rsp) voidvoidvoidReceive message from group.voidDeprecated.voidvoidCallback.voidReceive the message.booleanRequestCorrelator.receiveMessage(Message msg) Handles a message coming from a layer belowvoidDeprecated.voidPullPushAdapter.send(Serializable identifier, Message msg) Deprecated.Sends a message to the group - listeners to this identifier will receive the messages.voidDeprecated.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) Deprecated.MessageDispatcher.sendMessage(Message msg, RequestOptions opts) <T> NotifyingFuture<T> MessageDispatcher.sendMessageWithFuture(Message msg, int mode, long timeout) Deprecated.<T> NotifyingFuture<T> MessageDispatcher.sendMessageWithFuture(Message msg, RequestOptions options) voidRequestCorrelator.sendRequest(long id, Collection<Address> dest_mbrs, Message msg, RspCollector coll, RequestOptions options) Sends a request to a group.voidRequestCorrelator.sendRequest(long id, List<Address> dest_mbrs, Message msg, RspCollector coll) voidRequestCorrelator.sendRequest(long id, Message msg, RspCollector coll) Deprecated.voidRequestCorrelator.sendUnicastRequest(long id, Address target, Message msg, RspCollector coll) Sends a request to a single destinationConstructors in org.jgroups.blocks with parameters of type MessageModifierConstructorDescriptionGroupRequest(Message msg, RequestCorrelator corr, Collection<Address> targets, RequestOptions options) GroupRequest(Message m, RequestCorrelator corr, Address target, RequestOptions options) GroupRequest(Message m, Transport transport, Collection<Address> mbrs, RequestOptions options) MultiRequest(Message m, RequestCorrelator corr, Collection<Address> mbrs, RequestOptions options, int expected_mbrs) MultiRequest(Message m, RequestCorrelator corr, Address target, RequestOptions options, int expected_mbrs) MultiRequest(Message m, Transport transport, Collection<Address> mbrs, RequestOptions options, int expected_mbrs) Request(Message request, RequestCorrelator corr, Transport transport, RequestOptions options) Request(Message request, RequestCorrelator corr, Transport transport, RspFilter filter, int mode, long timeout) Deprecated.UnicastRequest(Message m, RequestCorrelator corr, Address target, RequestOptions options) UnicastRequest(Message m, Transport transport, Address target, RequestOptions options) -
Uses of Message in org.jgroups.blocks.mux
Methods in org.jgroups.blocks.mux with parameters of type MessageModifier and TypeMethodDescriptionprotected GroupRequestMuxMessageDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean blockForResults) protected GroupRequestMuxRpcDispatcher.cast(Collection<Address> dests, Message msg, RequestOptions options, boolean blockForResults) protected voidMuxRequestCorrelator.prepareResponse(Message rsp) voidMuxRequestCorrelator.sendRequest(long requestId, Collection<Address> dest_mbrs, Message msg, RspCollector coll, RequestOptions options) voidMuxRequestCorrelator.sendUnicastRequest(long id, Address target, Message msg, RspCollector coll) -
Uses of Message in org.jgroups.debug
Methods in org.jgroups.debug with parameters of type MessageModifier and TypeMethodDescriptionbooleanSimulator.checkForDropMessage(Message msg, Address dest) booleanbooleanSimulator.receiverDropFault(Message msg, Address src) booleanSimulator.senderDropFault(Message msg, Address dest) -
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.mux
Methods in org.jgroups.mux with parameters of type Message -
Uses of Message in org.jgroups.protocols
Fields in org.jgroups.protocols with type parameters of type MessageModifier and TypeFieldDescriptionSHUFFLE.down_msgsprotected BlockingQueue<Message> DAISYCHAIN.forward_queueprotected BlockingQueue<Message> DAISYCHAIN.send_queueSHUFFLE.up_msgsMethods in org.jgroups.protocols that return MessageModifier and TypeMethodDescriptionTransportedVectorTime.getAssociatedMessage()Returns a message associated with this vector timestamp.protected static MessageTP.readMessage(DataInputStream instream) SCOPE.MessageQueue.remove()Methods in org.jgroups.protocols that return types with arguments of type MessageMethods in org.jgroups.protocols with parameters of type MessageModifier and TypeMethodDescriptionvoidprotected voidRELAY.forwardToCoord(Message msg) Wraps the message annd sends it to the current coordinatorprotected abstract ObjectFlowControl.handleDownMessage(Event evt, Message msg, Address dest, int length) protected ObjectMFC.handleDownMessage(Event evt, Message msg, Address dest, int length) protected ObjectUFC.handleDownMessage(Event evt, Message msg, Address dest, int length) protected voidTP.passMessageUp(Message msg, boolean perform_cluster_name_matching, boolean multicast, boolean discard_own_mcast) voidvoidSMACK.retransmit(long seqno, Message msg, Address dest) voidUNICAST.retransmit(long seqno, Message msg) Called by AckSenderWindow to resend messages for which no ACK has been received yetvoidprotected voidSerializes and sends a message.protected voidvoidTransportedVectorTime.setAssociatedMessage(Message owner) Sets a message associated with this vector timestampprotected voidTP.setSourceAddress(Message msg) If the sender is null, set our own address.protected static voidTP.writeMessage(Message msg, DataOutputStream dos, boolean multicast) This method needs to be synchronized on out_stream when it is calledMethod parameters in org.jgroups.protocols with type arguments of type MessageModifier and TypeMethodDescriptionprotected static voidTP.writeMessageList(Address dest, Address src, List<Message> msgs, DataOutputStream dos, boolean multicast) Write a lits of messages with the same destination and *mostly* the same src addresses. -
Uses of Message in org.jgroups.stack
Fields in org.jgroups.stack declared as MessageMethods in org.jgroups.stack that return MessageModifier and TypeMethodDescriptionAckSenderWindow.get(long seqno) NakReceiverWindow.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()NakReceiverWindow.remove(boolean acquire_lock, boolean remove_msg) Methods in org.jgroups.stack that return types with arguments of type MessageModifier and TypeMethodDescriptionNakReceiverWindow.get(long from, long to) Returns a list of messages in the range [from ..AckReceiverWindow.removeMany(int max) Removes as many messages as possible (in sequence, without gaps)NakReceiverWindow.removeMany(AtomicBoolean processing) Removes as many messages as possibleNakReceiverWindow.removeMany(AtomicBoolean processing, boolean remove_msgs, int max_results) Removes as many messages as possibleAckReceiverWindow.removeManyAsList(int max) Methods in org.jgroups.stack with parameters of type MessageModifier and TypeMethodDescriptionvoidAdds a new message to the hash table.booleanAdds a new message.voidAdds a new message to the retransmission table.booleanAdds a message according to its seqno (sequence number).byteAdds a message if not yet receivedvoidAckSenderWindow.addToMessages(long seqno, Message msg) voidAckSenderWindow.addToRetransmitter(long seqno, Message msg) voidAckMcastSenderWindow.RetransmitCommand.retransmit(long seqno, Message msg, Address dest) Retranmit the given msgvoidAckSenderWindow.RetransmitCommand.retransmit(long seqno, Message msg) void -
Uses of Message in org.jgroups.util
Fields in org.jgroups.util declared as MessageFields in org.jgroups.util with type parameters of type MessageMethods in org.jgroups.util that return MessageModifier and TypeMethodDescriptionstatic MessageUtil.byteBufferToMessage(byte[] buffer, int offset, int length) RetransmitTable.get(long seqno) protected Message[]RetransmitTable.getRow(int index) Returns a row.RetransmitTable.putIfAbsent(long seqno, Message msg) Adds a message if the element at the given index is null.RetransmitTable.remove(long seqno) Removes the message with seqno from the table, nulls the indexMethods in org.jgroups.util that return types with arguments of type MessageModifier and TypeMethodDescriptionUtil.byteBufferToMessageList(byte[] buffer, int offset, int length) RetransmitTable.get(long from, long to) MyReceiver.getMsgs()Methods in org.jgroups.util with parameters of type MessageModifier and TypeMethodDescriptionstatic shortstatic SCOPE.ScopeHeaderUtil.getScopeHeader(Message msg) static BufferUtil.messageToByteBuffer(Message msg) static StringUtil.printMessage(Message msg) Tries to read an object from the message's buffer and prints itstatic StringUtil.printMethodCall(Message msg) Tries to read aMethodCallobject from the message's buffer and prints it.booleanAdds a new message to the index computed as a function of seqnoRetransmitTable.putIfAbsent(long seqno, Message msg) Adds a message if the element at the given index is null.voidstatic voidMethod parameters in org.jgroups.util with type arguments of type MessageModifier and TypeMethodDescriptionstatic BufferUtil.msgListToByteBuffer(List<Message> xmit_list) Marshalls a list of messages.
MessageDispatcher.sendMessage(org.jgroups.Message, RequestOptions)instead