public interface MessageFactory extends Extension
A plugin can provide his own message factory as an extension
if it uses any custom messages (all message must extend
MessageAdapter
class).
Modifier and Type | Method and Description |
---|---|
MessageAdapter |
create(byte type)
Creates new message instance of provided type.
|
@Nullable MessageAdapter create(byte type)
This method should return null
if provided message type
is unknown to this factory.
type
- Message type.
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 16 2015