jPOS 1.6.5 API Documentation

org.jpos.space
Class Request

java.lang.Object
  extended by org.jpos.space.TinySpace
      extended by 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: 2776 $ $Date: 2009-09-18 18:53:31 -0700 (Fri, 18 Sep 2009) $
Author:
Alejandro Revilla
See Also:
Serialized Form

Field Summary
static java.lang.String ERROR
           
static java.lang.String REQUEST
           
static java.lang.String RESPONSE
           
 
Constructor Summary
Request()
           
Request(java.lang.Object value)
           
 
Method Summary
 void addError(java.lang.Object o)
           
 java.lang.Object getError()
           
 java.lang.Object[] getErrors()
           
 java.lang.Object getRequest()
           
 java.lang.Object getRequest(long timeout)
           
 java.lang.Object getResponse()
           
 java.lang.Object getResponse(long timeout)
           
 void setResponse(java.lang.Object o)
           
 
Methods inherited from class org.jpos.space.TinySpace
existAny, existAny, in, in, inp, out, out, push, push, rd, rd, rdp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST

public static java.lang.String REQUEST

RESPONSE

public static java.lang.String RESPONSE

ERROR

public static java.lang.String ERROR
Constructor Detail

Request

public Request()

Request

public Request(java.lang.Object value)
Method Detail

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

jPOS.org