sunlabs.brazil.asterisk
public static class AsteriskHandler.EventItem extends Object
Constructor Summary | |
---|---|
EventItem(String queue, String key, String exp, String context, String serverName) |
Method Summary | |
---|---|
boolean | addQ2Event(String queue, String key, String exp, String context, String serverName)
Add a new queue to an existing event. |
boolean | remQEvent(String queue, String key, String exp)
Remove an exp/Q pair. |
boolean | send2Q(Dictionary event)
Send an event to the q's if there is a match.
|
int | size() |
String | toString() |
String | toString(String delim, String delim2) Machine readable version |
Parameters: queue The destination Q exp The regular expression
Returns: true if there is now an event/q match
Parameters: queue The destination Q to remove (or all if null) key The event key to match on (null for all keys) exp The event re (or null for all re's)
Returns: true if something was removed