|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface has to be implemented by observers which want
to be notified about new data events in the event queue. Implementing
this interface causes only the notification, without the delivery
of the data event itself. If the corresponding DataEvent
object should be delivered with the notification, then use the
interface DataEventReceivingObserver
.
2003-05-09 SM First Version 2003-05-14 SM working on additional methods and events, correction of some comments.
Method Summary | |
void |
receiveEvent()
This interface method is called by objects the DataEventObservable
class. |
Method Detail |
public void receiveEvent()
DataEventObservable
class. The implenting class has to register at the specific
object of the class DataEventObservable
to get notifications
about new data events in the event queue. This is done
by calling the method ServerConnectionManager.addObserver(DataEventBaseObserver o)
for observing the incoming event queue of the server respectively the method
ClientConnectionManager.addObserver(DataEventBaseObserver o)
for
the incoming event queue of the client.
The implementing class has to get the specific data event by calling the method
ServerConnectionManager.getDataEvent()
for incoming
data event queue of the server, respectively ClientConnectionManager.getDataEvent()
for the incoming data event queue of the client. After getting the events, the observer
has to take care of the data event removal from the incoming queue by calling
the methods ServerConnectionManager.removeDataEvent()
.DataEventReceivingObserver.receiveEvent(DataEvent de)
.
DataEventReceivingObserver.receiveEvent(DataEvent de)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |