webfunds.comms
Class CommsAgent

java.lang.Object
  |
  +--webfunds.utils.Debug
        |
        +--webfunds.comms.CommsAgent
Direct Known Subclasses:
HttpAgent, HttpSocketAgent

public abstract class CommsAgent
extends Debug

This abstract interface embodies the SOX request model. All actions are request/response pairs, with one request packet of data going from client to server and one reply packet coming back. Objects of classes derived from this are used to perform requests at the transport (comms) layer within SOX.


Fields inherited from class webfunds.utils.Debug
bug, debugAll, logfix
 
Constructor Summary
CommsAgent()
           
 
Method Summary
abstract  byte[] request(byte[] request)
          Issue a request
 
Methods inherited from class webfunds.utils.Debug
debug, debug, debug, debug, err, getDebug, logend, logmsg, logstart, logword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommsAgent

public CommsAgent()
Method Detail

request

public abstract byte[] request(byte[] request)
                        throws AgentReplyException,
                               AgentURLException,
                               AgentConnectException,
                               AgentLaterException
Issue a request