public class GridTcpCommunicationMessageFactory extends Object
| Constructor and Description |
|---|
GridTcpCommunicationMessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
static GridTcpCommunicationMessageAdapter |
create(byte type) |
static void |
registerCommon(GridTcpCommunicationMessageProducer producer,
int... types)
Register message producer for common message type.
|
static void |
registerCustom(GridTcpCommunicationMessageProducer producer,
byte type)
Registers factory for custom message.
|
public static GridTcpCommunicationMessageAdapter create(byte type)
type - Message type.public static void registerCommon(GridTcpCommunicationMessageProducer producer, int... types)
producer - Producer.types - Types applicable for this producer.public static void registerCustom(GridTcpCommunicationMessageProducer producer, byte type)
producer - Message producer.type - Message type.Copyright © 2014. All rights reserved.