public class ObjectPayloadChannelEvent extends ChannelPayloadStateEvent
| Constructor and Description |
|---|
ObjectPayloadChannelEvent()
Instantiates a new object payload channel event.
|
ObjectPayloadChannelEvent(ISerializable Value)
Instantiates a new object payload channel event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Decode(byte[] payload)
Decodes the payload of the implementing object as it was returned by
ISerializable.Encode() |
byte[] |
Encode()
Encodes the payload of the implementing object so that is can later be unmarshaled
|
ChannelState.EventName |
GetEventName()
Gets the event name.
|
String |
GetSerializableClassName()
Gets the class name of the object being serialized.
|
ISerializable |
GetValue()
Retrieves the containing payload
|
void |
SetValue(ISerializable Value)
Sets the containing payload
|
DeserializeID, GetEmitingNozzleID, GetEmitingNozzleIdentifierLeastSignificantBits, GetEmitingNozzleIdentifierMostSignificantBits, NotifyChange, SerializeEmmitingNozzleID, SetEmitingNozzleIdentifierLeastSignificantBits, SetEmitingNozzleIdentifierMostSignificantBitsaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic ObjectPayloadChannelEvent()
public ObjectPayloadChannelEvent(ISerializable Value)
Value - the payload that the event containspublic ChannelState.EventName GetEventName()
ChannelStateEventGetEventName in class ChannelStateEventpublic ISerializable GetValue()
public void SetValue(ISerializable Value)
Value - the containing payloadpublic String GetSerializableClassName()
ISerializablepublic void Decode(byte[] payload)
throws Exception
ISerializableISerializable.Encode()payload - the serializationException - the Serialization could not be performedpublic byte[] Encode()
throws Exception
ISerializableException - The serialization could not be performedCopyright © 2018. All Rights Reserved.