|
||||||||||
| 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.DisposeChannelEvent
public class DisposeChannelEvent
Event indicating that the channel is being disposed by one of its nozzles. Even if multiple nozzles are
registered, once a single nozzle emits this event, the ChannelRegistry purges the registry from
the associated entry
| Constructor Summary | |
|---|---|
DisposeChannelEvent()
Instantiates a new dispose channel event. |
|
DisposeChannelEvent(ChannelRegistryKey RegistryKey)
Instantiates a new dispose 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. |
ChannelRegistryKey |
GetRegistryKey()
Gets the registry key of the disposed channel |
String |
GetSerializableClassName()
Gets the class name of the object being serialized. |
| Methods inherited from class gr.uoa.di.madgik.commons.channel.events.ChannelStateEvent |
|---|
DeserializeID, GetEmitingNozzleID, GetEmitingNozzleIdentifierLeastSignificantBits, GetEmitingNozzleIdentifierMostSignificantBits, NotifyChange, SerializeEmmitingNozzleID, SetEmitingNozzleIdentifierLeastSignificantBits, SetEmitingNozzleIdentifierMostSignificantBits |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DisposeChannelEvent()
public DisposeChannelEvent(ChannelRegistryKey RegistryKey)
RegistryKey - the registry key| Method Detail |
|---|
public ChannelState.EventName GetEventName()
ChannelStateEvent
GetEventName in class ChannelStateEventpublic String GetSerializableClassName()
ISerializable
public ChannelRegistryKey GetRegistryKey()
public void Decode(byte[] payload)
throws Exception
ISerializableISerializable.Encode()
payload - the serialization
Exception - the Serialization could not be performed
public byte[] Encode()
throws Exception
ISerializable
Exception - The serialization could not be performed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||