|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.isr.yancees.server.dispatcher.siena.SienaAdapter.SubscriberMediator
This class represents a subscriber, receiving all the events from Siena that are destinated to this particular EventDispatcherListenerInterface This class here operates as a brides between YANCEES with SIENA. It gets the events from siena, convets it to Events in Yancees and sends to the corresponding EventDispatcherListenerInterface that it represents.
Constructor Summary | |
SienaAdapter.SubscriberMediator(EventDispatcherListenerInterface li)
Constructor |
Method Summary | |
void |
decrementReferenceCounter()
|
protected void |
finalize()
|
int |
getReferenceCounter()
|
void |
incrementReferenceCounter()
|
void |
notify(siena.Notification n)
Used to receive events from siena It transforms siena events to Yancees events and forwards the event to the appropriate subscriber. |
void |
notify(siena.Notification[] n)
Receives a list of events (a pattern) from siena. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SienaAdapter.SubscriberMediator(EventDispatcherListenerInterface li)
li
- is the subscriber this class representsMethod Detail |
public void incrementReferenceCounter()
public void decrementReferenceCounter()
public int getReferenceCounter()
public void notify(siena.Notification n)
notify
in interface siena.Notifiable
n
- is the notification as received from siena, in its native format.public void notify(siena.Notification[] n)
notify
in interface siena.Notifiable
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |