public class Response
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Response() |
Response(java.lang.String id,
java.lang.String idOmq,
java.lang.Object result,
OmqException error)
Creates a new Response object to be serialized
|
Modifier and Type | Method and Description |
---|---|
OmqException |
getError() |
java.lang.String |
getId() |
java.lang.String |
getIdOmq() |
java.lang.Object |
getResult() |
void |
setError(OmqException error) |
void |
setId(java.lang.String id) |
void |
setIdOmq(java.lang.String idOmq) |
void |
setResult(java.lang.Object result) |
public Response()
public Response(java.lang.String id, java.lang.String idOmq, java.lang.Object result, OmqException error)
id
- - correlation id of the invokeidOmq
- - objectmq's identifier -bind reference-result
- - result of the invocationerror
- - error thrown by the invocationpublic java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getIdOmq()
public void setIdOmq(java.lang.String idOmq)
public java.lang.Object getResult()
public void setResult(java.lang.Object result)
public OmqException getError()
public void setError(OmqException error)