org.jpos.space
Class Request
java.lang.Object
org.jpos.space.TinySpace
org.jpos.space.Request
- All Implemented Interfaces:
- java.io.Serializable, Space
public class Request
- extends TinySpace
Request adds to TinySpace a few helper methods suitable for
exchanging requests and responses over an outter [Transient|Tiny]Space.
- Since:
- 1.4.7
- Version:
- $Revision: 2594 $ $Date: 2008-01-22 08:41:31 -0800 (Tue, 22 Jan 2008) $
- Author:
- Alejandro Revilla
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
ERROR
|
static java.lang.String |
REQUEST
|
static java.lang.String |
RESPONSE
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST
public static java.lang.String REQUEST
RESPONSE
public static java.lang.String RESPONSE
ERROR
public static java.lang.String ERROR
Request
public Request()
Request
public Request(java.lang.Object value)
getResponse
public java.lang.Object getResponse()
getResponse
public java.lang.Object getResponse(long timeout)
setResponse
public void setResponse(java.lang.Object o)
getRequest
public java.lang.Object getRequest()
getRequest
public java.lang.Object getRequest(long timeout)
addError
public void addError(java.lang.Object o)
getErrors
public java.lang.Object[] getErrors()
getError
public java.lang.Object getError()