Inherited by com.scalagent.kjoram.ksoap.SoapDriver.
Inheritance diagram for com.scalagent.kjoram.Driver:


Public Member Functions | |
| String | toString () |
| void | run () |
| abstract void | shutdown () |
| void | close () |
Protected Member Functions | |
| Driver (Connection cnx) | |
| abstract AbstractJmsReply | getDelivery () throws Exception |
Package Attributes | |
| boolean | stopping = false |
Connection holds a Driver daemon for listening to asynchronous replies coming from the connected server.
Definition at line 40 of file Driver.java.
| com.scalagent.kjoram.Driver.Driver | ( | Connection | cnx | ) | [protected] |
Constructs a Driver daemon.
| cnx | The connection the driver belongs to. |
Definition at line 54 of file Driver.java.
References com.scalagent.kjoram.Connection.toString().
Here is the call graph for this function:

| String com.scalagent.kjoram.Driver.toString | ( | ) |
String view of a Driver instance.
Reimplemented from com.scalagent.kjoram.util.Daemon.
Definition at line 64 of file Driver.java.
References com.scalagent.kjoram.Connection.toString().
Here is the call graph for this function:

| void com.scalagent.kjoram.Driver.run | ( | ) |
The driver's listening loop.
Definition at line 71 of file Driver.java.
References com.scalagent.kjoram.util.Daemon.canStop, com.scalagent.kjoram.Connection.close(), com.scalagent.kjoram.Connection.closing, com.scalagent.kjoram.Connection.distribute(), com.scalagent.kjoram.util.Daemon.finish(), com.scalagent.kjoram.Driver.getDelivery(), com.scalagent.kjoram.Connection.onException(), com.scalagent.kjoram.Connection.requestsTable, com.scalagent.kjoram.util.Daemon.running, com.scalagent.kjoram.excepts.JMSException.setLinkedException(), and com.scalagent.kjoram.Driver.stopping.
Here is the call graph for this function:

| abstract AbstractJmsReply com.scalagent.kjoram.Driver.getDelivery | ( | ) | throws Exception [protected, pure virtual] |
Returns an AbstractJmsReply delivered by the connected server.
| Exception | If a problem occurs when getting the delivery. |
Implemented in com.scalagent.kjoram.ksoap.SoapDriver.
Referenced by com.scalagent.kjoram.Driver.run().
| abstract void com.scalagent.kjoram.Driver.shutdown | ( | ) | [pure virtual] |
Shuts the driver down.
Implements com.scalagent.kjoram.util.Daemon.
Implemented in com.scalagent.kjoram.ksoap.SoapDriver.
| void com.scalagent.kjoram.Driver.close | ( | ) | [virtual] |
Releases the driver's resources.
Implements com.scalagent.kjoram.util.Daemon.
Definition at line 170 of file Driver.java.
boolean com.scalagent.kjoram.Driver.stopping = false [package] |
true if the driver is stopping.
Definition at line 46 of file Driver.java.
Referenced by com.scalagent.kjoram.Connection.close(), and com.scalagent.kjoram.Driver.run().
1.5.0