|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--MicroTAPAS.SubscribeRequestServer
Server for individual subscription requests from clients. The server receives event registrations, checks whether or not they shall be reported, and keep registrations to be reported until the report is sent. Reports are sent only when registrations exists, but it is the clien that specifies when or how often the reports shall be sent.
| Constructor Summary | |
SubscribeRequestServer(SubscribeRequest sr,
ActorContext ctx,
MicroBaseFrame frame)
Initiate the subscribe server instance. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Reported timeout from the initiated timer |
boolean |
cancelSubscribe()
Cancel this subscription. |
void |
registerEvent(int et,
GAI sc,
java.lang.String at)
Report of an event. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SubscribeRequestServer(SubscribeRequest sr,
ActorContext ctx,
MicroBaseFrame frame)
sr - The specification of the subscribe request.ctx - The context to be used to specify the sender of the subscribe reports.frame - Debugging trace window (temporarly)| Method Detail |
public boolean cancelSubscribe()
public void registerEvent(int et,
GAI sc,
java.lang.String at)
et - Event typesc - Address of the entity the event concernsat - Application specific informationpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||