|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cafesip.sipexchange.inservice.shared.Response
org.cafesip.sipexchange.inservice.shared.TerminateResponse
public class TerminateResponse
An object belonging to this class is returned by the SCP to the SipExchange server in response to an invocation to indicate that the call session must be terminated.
The setter methods are used by the SCP to populate this object. The getter methods can be used by the SipExchange to get the information about the status code, reason, etc.
| Constructor Summary | |
|---|---|
TerminateResponse()
A constructor for this class. |
|
| Method Summary | |
|---|---|
java.lang.String |
getReason()
A getter for the reason phrase. |
int |
getStatusCode()
Getter for the status code. |
void |
setReason(java.lang.String reason)
Setter for the reason phrase. |
void |
setStatusCode(int statusCode)
Setter for the status code. |
| Methods inherited from class org.cafesip.sipexchange.inservice.shared.Response |
|---|
getCdrs, setCdrs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TerminateResponse()
| Method Detail |
|---|
public int getStatusCode()
public void setStatusCode(int statusCode)
statusCode - the status code value to set.public java.lang.String getReason()
public void setReason(java.lang.String reason)
reason - reason phrase to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||