|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.queueing.ListenerGroup
public class ListenerGroup
Class to configure, instantiate and manage Listener threads.
| Constructor Summary | |
|---|---|
ListenerGroup(java.lang.String conf,
Worker worker)
Create a new ListenerGroup. |
|
ListenerGroup(XMLProperties xmlProps,
Worker worker)
Create a new ListenerGroup. |
|
| Method Summary | |
|---|---|
void |
assign(java.lang.Object event)
Assign an event to the ListenerGroup |
void |
destroy()
Destroy the ListenerGroup by stopping all Listener threads. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListenerGroup(XMLProperties xmlProps,
Worker worker)
throws ConfException,
java.io.IOException
xmlProps - XMLProperties instance containing the queueing config.worker - Worker implementation.
ConfException
java.io.IOException
public ListenerGroup(java.lang.String conf,
Worker worker)
throws ConfException,
java.io.IOException
conf - Location of queueing configuration file.worker - Worker implementation.
ConfException
java.io.IOException| Method Detail |
|---|
public void assign(java.lang.Object event)
throws QueueDiscardWarning
event - Object containing event.
QueueDiscardWarningpublic void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||