public class GridIoMessageFactory extends Object implements MessageFactory
| Constructor and Description |
|---|
GridIoMessageFactory(MessageFactory[] ext) |
| Modifier and Type | Method and Description |
|---|---|
Message |
create(short type)
Creates new message instance of provided type.
|
static void |
registerCustom(short type,
IgniteOutClosure<Message> c)
Registers factory for custom message.
|
public GridIoMessageFactory(MessageFactory[] ext)
ext - Extensions.public Message create(short type)
This method should return null if provided message type
is unknown to this factory.
create in interface MessageFactorytype - Message type.public static void registerCustom(short type,
IgniteOutClosure<Message> c)
type - Message type.c - Message producer.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017