|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageViewFactory
Represents a message view factory.
A message view factory manufactures specific message views. Each view factory is uniquely identified in the system via an identifier (a short value). Factories are dynamically loaded by the SMA runtime and used to reconstitute message views on the receive side.
Field Summary | |
---|---|
static short |
VFID_MAP
Identifies the 'map' message view factory |
static short |
VFID_NULL
Signifies a 'null view factory. |
static short |
VFID_PLATFORM_STATIC_LAST
Identifies the last platform static factory id NOTE: BE VERY CAREFUL WHEN CHANGING THIS VALUE SINCE IT IS SYNCHRONIZED WITH THE ADM CODE GENERATOR, THE STO TYPE FACTORY AND ODS OBJECT FACTORY. |
static short |
VFID_RAW
Identifies the 'raw' message view factory |
static short |
VFID_ROG_PACKET_MANAGER
Identifies the ROG Packet Manager (link perf tool plugin) object factory. |
static short |
VFID_ROG_RAW
Identify the 'rog raw' message factory. |
Method Summary | |
---|---|
MessageView |
create(short type)
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. |
Field Detail |
---|
static final short VFID_NULL
static final short VFID_RAW
static final short VFID_MAP
static final short VFID_ROG_PACKET_MANAGER
static final short VFID_ROG_RAW
static final short VFID_PLATFORM_STATIC_LAST
Method Detail |
---|
short getVfid()
MessageView create(short type)
type
- The message view's typeMessageView wrap(short type, int encodingType, Object message)
type
- The message view's typeencodingType
- The message's encoding typemessage
- The serialized message to wrap the view around.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |