|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
gr.uoa.di.madgik.commons.channel.events.ChannelStateEvent
gr.uoa.di.madgik.commons.channel.events.ChannelPayloadStateEvent
gr.uoa.di.madgik.commons.channel.events.ObjectPayloadChannelEvent
public class ObjectPayloadChannelEvent
Event containing payload that the sender wants to provide to listeners
Constructor Summary | |
---|---|
ObjectPayloadChannelEvent()
Instantiates a new object payload channel event. |
|
ObjectPayloadChannelEvent(ISerializable Value)
Instantiates a new object payload channel event. |
Method Summary | |
---|---|
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. |
java.lang.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 |
Methods inherited from class gr.uoa.di.madgik.commons.channel.events.ChannelStateEvent |
---|
GetEmitingNozzleID, GetEmitingNozzleIdentifierLeastSignificantBits, GetEmitingNozzleIdentifierMostSignificantBits, NotifyChange, SetEmitingNozzleIdentifierLeastSignificantBits, SetEmitingNozzleIdentifierMostSignificantBits |
Methods inherited from class java.util.Observable |
---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectPayloadChannelEvent()
public ObjectPayloadChannelEvent(ISerializable Value)
Value
- the payload that the event containsMethod Detail |
---|
public ChannelState.EventName GetEventName()
ChannelStateEvent
GetEventName
in class ChannelStateEvent
public ISerializable GetValue()
public void SetValue(ISerializable Value)
Value
- the containing payloadpublic java.lang.String GetSerializableClassName()
ISerializable
public void Decode(byte[] payload) throws java.lang.Exception
ISerializable
ISerializable.Encode()
payload
- the serialization
java.lang.Exception
- the Serialization could not be performedpublic byte[] Encode() throws java.lang.Exception
ISerializable
java.lang.Exception
- The serialization could not be performed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |