|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.util.Daemon
org.objectweb.joram.client.jms.Driver
Each Connection
holds a Driver
daemon for
listening to asynchronous replies coming from the connected server.
Field Summary |
Fields inherited from class fr.dyade.aaa.util.Daemon |
canStop, group, logmon, priority, running, thread |
Constructor Summary | |
protected |
Driver(Connection cnx)
Constructs a Driver daemon. |
Method Summary | |
void |
close()
Releases the driver's resources. |
protected abstract AbstractJmsReply |
getDelivery()
Returns an AbstractJmsReply delivered by the connected
server. |
void |
run()
The driver's listening loop. |
abstract void |
shutdown()
Shuts the driver down. |
java.lang.String |
toString()
String view of a Driver instance. |
Methods inherited from class fr.dyade.aaa.util.Daemon |
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setPriority, setThreadGroup, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected Driver(Connection cnx)
Driver
daemon.
cnx
- The connection the driver belongs to.Method Detail |
public java.lang.String toString()
Driver
instance.
toString
in class Daemon
public void run()
protected abstract AbstractJmsReply getDelivery() throws java.lang.Exception
AbstractJmsReply
delivered by the connected
server.
java.lang.Exception
- If a problem occurs when getting the delivery.public abstract void shutdown()
shutdown
in class Daemon
public void close()
close
in class Daemon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |