|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsunlabs.brazil.asterisk.AsteriskHandler.Events
public static class AsteriskHandler.Events
Class to manage the set of events. This implementation maintains a vector of eventItems. XXX We need to detect when the requester of an event goes away XXX without unregistering the event, so we can remove it for them.
Constructor Summary | |
---|---|
AsteriskHandler.Events()
|
Method Summary | |
---|---|
void |
addEvent(String queue,
String key,
String exp,
String context,
String serverName)
Add an event to the current set of events. |
boolean |
processEvents(Dictionary event)
Send the event to all the proper Q's. |
int |
removeEvents(String queue,
String key,
String exp)
Remove events. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AsteriskHandler.Events()
Method Detail |
---|
public void addEvent(String queue, String key, String exp, String context, String serverName)
public int removeEvents(String queue, String key, String exp)
public boolean processEvents(Dictionary event)
public String toString()
toString
in class Object
|
Version Kenai-svn-r24, Generated 08/18/09 Copyright (c) 2001-2009, Sun Microsystems. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |