Uses of Interface
org.jgroups.MessageFactory
-
Packages that use MessageFactory Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of MessageFactory in org.jgroups
Classes in org.jgroups that implement MessageFactory Modifier and Type Class Description classDefaultMessageFactoryDefault implementation ofMessageFactory.Fields in org.jgroups declared as MessageFactory Modifier and Type Field Description protected static MessageFactoryBatchMessage. mfprotected static MessageFactoryCompositeMessage. mfMethods in org.jgroups with type parameters of type MessageFactory Modifier and Type Method Description <T extends MessageFactory>
TDefaultMessageFactory. register(short type, java.util.function.Supplier<? extends Message> generator)<M extends MessageFactory>
MMessageFactory. register(short type, java.util.function.Supplier<? extends Message> generator)Registers a new creator of messages -
Uses of MessageFactory in org.jgroups.protocols
Fields in org.jgroups.protocols declared as MessageFactory Modifier and Type Field Description protected MessageFactorySERIALIZE. mfprotected MessageFactoryCOMPRESS. msg_factoryprotected MessageFactoryEncrypt. msg_factoryprotected MessageFactoryFRAG. msg_factoryprotected MessageFactoryFRAG2.FragEntry. msg_factoryprotected MessageFactoryFRAG2. msg_factoryprotected MessageFactoryFRAG3. msg_factoryprotected MessageFactorySEQUENCER. msg_factoryprotected MessageFactoryTP. msg_factoryMethods in org.jgroups.protocols that return MessageFactory Modifier and Type Method Description MessageFactoryTP. getMessageFactory()Methods in org.jgroups.protocols with parameters of type MessageFactory Modifier and Type Method Description protected voidTP. handleMessageBatch(java.io.DataInput in, boolean multicast, MessageFactory factory)protected static MessageCOMPRESS. messageFromByteArray(byte[] uncompressed_payload, MessageFactory msg_factory)<T extends Encrypt<E>>
TEncrypt. msgFactory(MessageFactory f)<T extends TP>
TTP. setMessageFactory(MessageFactory m)Constructors in org.jgroups.protocols with parameters of type MessageFactory Constructor Description FragEntry(int tot_frags, boolean needs_deserialization, MessageFactory mf)Creates a new entry -
Uses of MessageFactory in org.jgroups.util
Methods in org.jgroups.util with parameters of type MessageFactory Modifier and Type Method Description static MessageUtil. messageFromBuffer(byte[] buf, int offset, int length, MessageFactory mf)static MessageUtil. messageFromByteBuffer(byte[] buffer, int offset, int length, MessageFactory mf)static MessageUtil. readMessage(java.io.DataInput in, MessageFactory mf)static MessageBatch[]Util. readMessageBatch(java.io.DataInput in, boolean multicast, MessageFactory factory)Reads a list of messages into 2 MessageBatches: regular OOBstatic java.util.List<Message>Util. readMessageList(java.io.DataInput in, short transport_id, MessageFactory mf)
-