|
|||||||||
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
public abstract class ChannelStateEvent
Base class for every object that can be used to be registered by an Observer or send as Event. Event handling must follow well known guidelines. The most important of all as it could have a dramatic effect on the framework usage is the processing of a caught event. When an event is caught the processing to be performed should be kept minimal. Should a proxy for example catches an event and in the event handler communicates with a remote location this would mean that the whole framework will have to wait for this communication to happen.
Constructor Summary | |
---|---|
ChannelStateEvent()
|
Method Summary | |
---|---|
java.lang.String |
GetEmitingNozzleID()
Retrieves the emitting nozzle UUID of the event associated with it during initialization |
long |
GetEmitingNozzleIdentifierLeastSignificantBits()
Gets the emitting nozzle identifier least significant bits. |
long |
GetEmitingNozzleIdentifierMostSignificantBits()
Gets the emitting nozzle identifier most significant bits. |
abstract ChannelState.EventName |
GetEventName()
Gets the event name. |
void |
NotifyChange(ChannelStateEvent ChangeEvent)
Notify everyone that has registered for notifications to this object. |
void |
SetEmitingNozzleIdentifierLeastSignificantBits(long EmitingNozzleIdentifierLeastSignificantBits)
Sets the emitting nozzle identifier least significant bits. |
void |
SetEmitingNozzleIdentifierMostSignificantBits(long EmitingNozzleIdentifierMostSignificantBits)
Sets the emitting nozzle identifier most significant bits. |
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 |
Methods inherited from interface gr.uoa.di.madgik.commons.channel.events.ISerializable |
---|
Decode, Encode, GetSerializableClassName |
Constructor Detail |
---|
public ChannelStateEvent()
Method Detail |
---|
public void NotifyChange(ChannelStateEvent ChangeEvent)
ChangeEvent
- The ChannelStateEvent carrying the update informationpublic abstract ChannelState.EventName GetEventName()
public long GetEmitingNozzleIdentifierLeastSignificantBits()
public long GetEmitingNozzleIdentifierMostSignificantBits()
public void SetEmitingNozzleIdentifierLeastSignificantBits(long EmitingNozzleIdentifierLeastSignificantBits)
EmitingNozzleIdentifierLeastSignificantBits
- the emitting nozzle identifier least significant bitspublic void SetEmitingNozzleIdentifierMostSignificantBits(long EmitingNozzleIdentifierMostSignificantBits)
EmitingNozzleIdentifierMostSignificantBits
- the emitting nozzle identifier most significant bitspublic java.lang.String GetEmitingNozzleID()
SerializeEmmitingNozzleID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |