net.sourceforge.fixagora.basis.shared.model.communication
Class AbstractResponse

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.communication.AbstractResponse
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbstractBasisResponse, AbstractBuySideResponse, AbstractExcelResponse, AbstractSAPResponse, AbstractSellSideResponse, AbstractTradeCaptureResponse

public abstract class AbstractResponse
extends java.lang.Object
implements java.io.Serializable

The Class AbstractResponse.

See Also:
Serialized Form

Constructor Summary
AbstractResponse(AbstractRequest abstractRequest)
          Instantiates a new abstract response.
 
Method Summary
 long getRequestID()
          Gets the request id.
 long getTimestamp()
          Gets the timestamp.
abstract  void handleAbstractResponse(AbstractResponses abstractResponses)
          Handle abstract response.
 void setTimestamp(long timestamp)
          Sets the timestamp.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResponse

public AbstractResponse(AbstractRequest abstractRequest)
Instantiates a new abstract response.

Parameters:
abstractRequest - the abstract request
Method Detail

getRequestID

public long getRequestID()
Gets the request id.

Returns:
the request id

handleAbstractResponse

public abstract void handleAbstractResponse(AbstractResponses abstractResponses)
Handle abstract response.

Parameters:
abstractResponses - the abstract responses

getTimestamp

public long getTimestamp()
Gets the timestamp.

Returns:
the timestamp

setTimestamp

public void setTimestamp(long timestamp)
Sets the timestamp.

Parameters:
timestamp - the new timestamp