org.objectweb.joram.client.jms
Class Driver
- Runnable
public abstract class Driver
Each Connection
holds a Driver
daemon for
listening to asynchronous replies coming from the connected server.
void | close() - Releases the driver's resources.
|
protected AbstractJmsReply | getDelivery() - Returns an
AbstractJmsReply delivered by the connected
server.
|
void | run() - The driver's listening loop.
|
void | shutdown() - Shuts the driver down.
|
String | toString() - String view of a
Driver instance.
|
close , finish , getName , interrupt , isCurrentThread , isRunning , setDaemon , setPriority , setThreadGroup , shutdown , start , stop , toString |
Driver
protected Driver(Connection cnx)
Constructs a Driver
daemon.
cnx
- The connection the driver belongs to.
close
public void close()
Releases the driver's resources.
- close in interface Daemon
getDelivery
protected AbstractJmsReply getDelivery()
throws Exception
Returns an AbstractJmsReply
delivered by the connected
server.
run
public void run()
The driver's listening loop.
shutdown
public void shutdown()
Shuts the driver down.
- shutdown in interface Daemon
toString
public String toString()
String view of a Driver
instance.
- toString in interface Daemon
Copyright B) 2004 Scalagent - All rights reserved