|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.blacktie.jatmibroker.xatmi.Response
public class Response
This class encapsulates the response from the remote service and the return code
| Constructor Summary | |
|---|---|
Response(short rval,
int rcode,
Buffer buffer,
int flags)
Services construct their responses using this constructor. |
|
| Method Summary | |
|---|---|
Buffer |
getBuffer()
Get the buffer that the service responded with. |
int |
getCd()
Get the cd of the service that responded (may vary based on Connection#TPGETANY) |
int |
getFlags()
Get the flags that the service responded with. |
int |
getRcode()
Get the return code |
short |
getRval()
Get the return value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Response(short rval,
int rcode,
Buffer buffer,
int flags)
rval - The value the service wishes to use.rcode - The code the service wants to respond with.buffer - The buffer to return.flags - The flags to respond with.| Method Detail |
|---|
public short getRval()
public int getRcode()
public int getFlags()
public Buffer getBuffer()
public int getCd()
Connection#TPGETANY)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||