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 class
DefaultMessageFactory
Default implementation ofMessageFactory
.Fields in org.jgroups declared as MessageFactory Modifier and Type Field Description protected static MessageFactory
BatchMessage. mf
protected static MessageFactory
CompositeMessage. mf
Methods 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 MessageFactory
SERIALIZE. mf
protected MessageFactory
COMPRESS. msg_factory
protected MessageFactory
Encrypt. msg_factory
protected MessageFactory
FRAG. msg_factory
protected MessageFactory
FRAG2.FragEntry. msg_factory
protected MessageFactory
FRAG2. msg_factory
protected MessageFactory
FRAG3. msg_factory
protected MessageFactory
SEQUENCER. msg_factory
protected MessageFactory
TP. msg_factory
Methods in org.jgroups.protocols that return MessageFactory Modifier and Type Method Description MessageFactory
TP. getMessageFactory()
Methods in org.jgroups.protocols with parameters of type MessageFactory Modifier and Type Method Description protected void
TP. handleMessageBatch(java.io.DataInput in, boolean multicast, MessageFactory factory)
protected static Message
COMPRESS. 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 Message
Util. messageFromBuffer(byte[] buf, int offset, int length, MessageFactory mf)
static Message
Util. messageFromByteBuffer(byte[] buffer, int offset, int length, MessageFactory mf)
static Message
Util. 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)
-