public final class PacketMessageFactory extends SmaObject implements MessageViewFactory
VFID_AEP_MESSAGE_FACTORY, VFID_AEP_TXN_STATS_FACTORY, VFID_EAGLE_RESERVED_FACTORYID_END, VFID_EAGLE_RESERVED_FACTORYID_START, VFID_HORNET_RESERVED_FACTORYID_END, VFID_HORNET_RESERVED_FACTORYID_START, VFID_MAP, VFID_NULL, VFID_PACKET, VFID_PLATFORM_STATIC_LAST, VFID_ROG_PACKET, VFID_ROG_PACKET_MANAGER, VFID_RUMI_RESERVED_FACTORYID_END, VFID_SRV_MON_ALERT_FACTORY, VFID_SRV_MON_CNC_FACTORY, VFID_SRV_MON_COMMON_FACTORY, VFID_SRV_MON_FACTORY, VFID_SRV_MON_LIFECYCLE_FACTORY| Modifier and Type | Method and Description |
|---|---|
static PacketMessageFactory |
create(Properties props)
Create a new packet message view factory.
|
MessageView |
create(short vid)
Create a new message by type
|
short |
getVfid()
Get the factory's unique identifier
|
MessageView |
wrap(short type,
int encodingType,
Object message)
Wrap a message view around a message.
|
getChecked, getThreaded, getTracerpublic static final PacketMessageFactory create(Properties props)
public final short getVfid()
MessageViewFactorygetVfid in interface MessageViewFactorypublic final MessageView create(short vid)
MessageViewFactorycreate in interface MessageViewFactoryvid - The message view's typepublic final MessageView wrap(short type, int encodingType, Object message)
MessageViewFactorywrap in interface MessageViewFactorytype - The message view's typeencodingType - The message's encoding typemessage - The serialized message to wrap the view around.Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.