|
|||||||||
| 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 |
java.lang.String |
GetSerializableClassName()
Gets the class name of the object being serialized. |
| 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 DisposeChannelEvent()
public DisposeChannelEvent(ChannelRegistryKey RegistryKey)
RegistryKey - the registry key| Method Detail |
|---|
public ChannelState.EventName GetEventName()
ChannelStateEvent
GetEventName in class ChannelStateEventpublic java.lang.String GetSerializableClassName()
ISerializable
public ChannelRegistryKey GetRegistryKey()
public void Decode(byte[] payload)
throws java.lang.Exception
ISerializableISerializable.Encode()
payload - the serialization
java.lang.Exception - the Serialization could not be performed
public 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 | ||||||||