public interface MessageFormatter extends Extension
A plugin can provide his own message factory as an extension to replace default format of communication messages.
Note that only one custom formatter is allowed. If two plugins provide different formatters, exception will be thrown on node startup.
Modifier and Type | Method and Description |
---|---|
MessageReader |
reader(UUID rmtNodeId,
MessageFactory msgFactory)
Creates new message reader instance.
|
MessageWriter |
writer(UUID rmtNodeId)
Creates new message writer instance.
|
MessageWriter writer(UUID rmtNodeId) throws IgniteCheckedException
rmtNodeId
- Remote node ID.IgniteCheckedException
- In case of error.MessageReader reader(UUID rmtNodeId, MessageFactory msgFactory) throws IgniteCheckedException
rmtNodeId
- Remote node ID.msgFactory
- Message factory.IgniteCheckedException
- In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023