|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.core.ipc.Notifier
public class Notifier
This class is given a new ipc connection and the clients callback handle. The object creates an internal thread which is used to exclusively monitor this ipc connection, and inform the client via the handle of incoming requests. If the client handle returns a non-null object, this is passed back down the ipc connection object.
TcpService
,
TcpServerService
,
NotifierIfc
Constructor Summary | |
---|---|
Notifier(NotifierIfc client,
IpcIfc ipc,
java.util.HashMap pool)
Construct the notifier with a reference to the client interested in receiving messages. |
Method Summary | |
---|---|
void |
stop()
Stop execution of this thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Notifier(NotifierIfc client, IpcIfc ipc, java.util.HashMap pool)
client
- The receiving client.ipc
- The Ipc connection established.pool_
- The pool this notifier belongs to.Method Detail |
---|
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |