com.scalagent.kjoram.Driver Class Reference

Inherits com.scalagent.kjoram.util.Daemon.

Inherited by com.scalagent.kjoram.ksoap.SoapDriver.

Inheritance diagram for com.scalagent.kjoram.Driver:

Inheritance graph
[legend]
Collaboration diagram for com.scalagent.kjoram.Driver:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Each Connection holds a Driver daemon for listening to asynchronous replies coming from the connected server.

Definition at line 40 of file Driver.java.


Constructor & Destructor Documentation

com.scalagent.kjoram.Driver.Driver ( Connection  cnx  )  [protected]

Constructs a Driver daemon.

Parameters:
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:


Member Function Documentation

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.

Exceptions:
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.


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:15:18 2008 for joram by  doxygen 1.5.0