public class ResultMessage extends BaseMessage
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Exception |
exception
The exception.
|
protected boolean |
finished
The finished flag.
|
protected java.lang.Object |
result
The result.
|
callid| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
Get the exception.
|
java.lang.Object |
getResult()
Get the result.
|
boolean |
isFinished()
Get the finished.
|
void |
setException(java.lang.Exception exception)
Set the exception.
|
void |
setFinished(boolean finished)
Set the finished.
|
void |
setResult(java.lang.Object result)
Set the result.
|
getCallid, setCallidprotected java.lang.Object result
protected java.lang.Exception exception
protected boolean finished
public ResultMessage()
public ResultMessage(java.lang.Object result,
java.lang.String callid,
boolean finished)
public ResultMessage(java.lang.Exception exception,
java.lang.String callid)
public java.lang.Object getResult()
public void setResult(java.lang.Object result)
result - The result to setpublic java.lang.Exception getException()
public void setException(java.lang.Exception exception)
exception - The exception to setpublic boolean isFinished()
public void setFinished(boolean finished)
finished - The finished to set