add a message listener to this handler.
Parameters: group - the group of messages that a listener is interested in receiving Parameters: listener - the message listener object
send a message
Parameters: msg - the message object to send
setAllowedGroupRegex
public void setAllowedGroupRegex(String regex, int priority)(Code)
a regular expression describing the group(s) that are allowed to send messages.
A priority is also included which, if higher than the disallowed ex
Parameters: regex - a regular expression Parameters: priority - what priority the allowed expression has over the disallowed group
setDisallowedGroupRegex
public void setDisallowedGroupRegex(String regex, int priority)(Code)
a regular expression describing the group(s) that are -not- allowed to send messages
Parameters: regex - a regular expression Parameters: priority - what priority the disallowed expression has over the allowed group