Class ResultMessage
- java.lang.Object
-
- org.activecomponents.webservice.messages.BaseMessage
-
- org.activecomponents.webservice.messages.ResultMessage
-
public class ResultMessage extends BaseMessage
A message for a service call result.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ExceptionexceptionThe exception.protected booleanfinishedThe finished flag.protected java.lang.ObjectresultThe result.-
Fields inherited from class org.activecomponents.webservice.messages.BaseMessage
callid
-
-
Constructor Summary
Constructors Constructor Description ResultMessage()Create a new result message.ResultMessage(java.lang.Exception exception, java.lang.String callid)Create a new result message.ResultMessage(java.lang.Object result, java.lang.String callid, boolean finished)Create a new result message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ExceptiongetException()Get the exception.java.lang.ObjectgetResult()Get the result.booleanisFinished()Get the finished.voidsetException(java.lang.Exception exception)Set the exception.voidsetFinished(boolean finished)Set the finished.voidsetResult(java.lang.Object result)Set the result.-
Methods inherited from class org.activecomponents.webservice.messages.BaseMessage
getCallid, setCallid
-
-
-
-
Constructor Detail
-
ResultMessage
public ResultMessage()
Create a new result message.
-
ResultMessage
public ResultMessage(java.lang.Object result, java.lang.String callid, boolean finished)Create a new result message.
-
ResultMessage
public ResultMessage(java.lang.Exception exception, java.lang.String callid)Create a new result message.
-
-
Method Detail
-
getResult
public java.lang.Object getResult()
Get the result.- Returns:
- Tthe result
-
setResult
public void setResult(java.lang.Object result)
Set the result.- Parameters:
result- The result to set
-
getException
public java.lang.Exception getException()
Get the exception.- Returns:
- Tthe exception
-
setException
public void setException(java.lang.Exception exception)
Set the exception.- Parameters:
exception- The exception to set
-
isFinished
public boolean isFinished()
Get the finished.- Returns:
- Tthe finished
-
setFinished
public void setFinished(boolean finished)
Set the finished.- Parameters:
finished- The finished to set
-
-