|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.server.mipc.IpcJmsReceiver
public class IpcJmsReceiver
The receiver class handles all requests, delegating them to registered
NotifierIfc instances.
NotifierIfc,
IpcJmsServer| Constructor Summary | |
|---|---|
IpcJmsReceiver()
Construct a new IpcJmsReceiver |
|
| Method Summary | |
|---|---|
void |
addDispatcher(java.lang.String name,
org.exolab.core.ipc.NotifierIfc dispatcher)
Register a dispatcher to handle requests |
void |
disconnection(java.lang.String id)
Invoked if the connection has been broken. |
org.exolab.core.ipc.NotifierIfc |
getDispatcher(java.lang.String name)
Returns a dispatcher for the specified name |
java.io.Serializable |
notify(java.lang.Object object,
java.lang.String id)
A new request has been received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IpcJmsReceiver()
IpcJmsReceiver
| Method Detail |
|---|
public java.io.Serializable notify(java.lang.Object object,
java.lang.String id)
notify in interface org.exolab.core.ipc.NotifierIfcobject - the requestid - the unique identifier of this connection.
public void addDispatcher(java.lang.String name,
org.exolab.core.ipc.NotifierIfc dispatcher)
name - the name of the dispatcherdispatcher - the dispatcherpublic org.exolab.core.ipc.NotifierIfc getDispatcher(java.lang.String name)
name - the name of the dipatcher
name, or
null if no dispatcher is registeredpublic void disconnection(java.lang.String id)
disconnection in interface org.exolab.core.ipc.NotifierIfcid - the unique identifier of this connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||