|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mitre.jsip.SipCallMember
Field Summary | |
static int |
Cancelling
|
static int |
Connected
|
static int |
Disconnected
|
static int |
Disconnecting
|
static int |
InviteRequested
|
static int |
MessageRequested
|
static int |
Redirected
|
static int |
ReInviteRequested
|
static int |
RemoteInviteRequest
|
static int |
RemoteReInviteRequest
|
Constructor Summary | |
SipCallMember(SipCall parent,
SipUri uri)
Creates a new member for this call with the given URI. |
Method Summary | |
void |
acceptBye(java.lang.String body,
MimeContentType bodytype)
|
void |
acceptInfo(java.lang.String body,
MimeContentType bodytype)
|
void |
acceptInvite(java.lang.String body,
MimeContentType bodytype)
Accepts the invitation to join the session sent by the call member. |
void |
declineInvite(java.lang.String body,
MimeContentType bodytype)
Declines the invitation to join the session sent by the call member. |
SipUri |
getContactUri()
Returns the current Contact URI for this call member. |
java.lang.String |
getLocalSessionDescription()
Returns the most recently sent local session description. |
MimeContentType |
getLocalSessionDescriptionType()
Returns the MIME Content Type of the most recently sent local session description. |
java.lang.String |
getLocalStatusDescription()
Returns a text description of our current status. |
java.lang.String |
getMostRecentMessageBody()
Returns the most recent message body we received that was not a session description. |
MimeContentType |
getMostRecentMessageBodyType()
Returns the MIME type of the most recent message body we received that was not a session description. |
SipUriList |
getRedirectList()
Returns the list of URIs where we were redirected. |
java.lang.String |
getSessionDescription()
Returns the most recent session description provided by the member for sending media to them. |
MimeContentType |
getSessionDescriptionType()
Returns the MIME Content Type of the session description provided by the call member. |
int |
getStatus()
Returns the current status of the call member. |
SipUri |
getUri()
Returns the URI for this call member. |
void |
requestCancel()
Send a CANCEL msg for the given request |
void |
requestDisconnect(java.lang.String body,
MimeContentType bodytype)
Sends a SIP BYE request to disconnect the session. |
void |
requestInfo(java.lang.String body,
MimeContentType bodytype)
Requests an INFO message |
void |
requestInvite(java.lang.String body,
MimeContentType bodytype)
Sends a SIP INVITE request, asking the member to join in the session described in the given body. |
void |
requestMessage(java.lang.String messageBody)
Sends a MESSAGE request |
void |
requestNotify(java.lang.String body,
MimeContentType bodytype)
Request a NOTIFY message be sent |
void |
requestOptions(java.lang.String body,
MimeContentType bodytype)
Sends a SIP OPTIONS request, asking the member what they support. |
void |
requestSubscribe(java.lang.String body,
MimeContentType bodytype)
Request a SUBSCRIBE message be sent |
void |
requestTransfer(SipUri transferto,
java.lang.String body,
MimeContentType bodytype)
Disconnects the session with a request to transfer to another party. |
void |
setContactUri(SipUri newcontact)
Sets the Contact URI for this call member. |
void |
setUri(SipUri newuri)
Updates the URI for this call member. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int Disconnected
public static final int InviteRequested
public static final int ReInviteRequested
public static final int RemoteInviteRequest
public static final int RemoteReInviteRequest
public static final int Redirected
public static final int Connected
public static final int Disconnecting
public static final int MessageRequested
public static final int Cancelling
Constructor Detail |
public SipCallMember(SipCall parent, SipUri uri)
parent
- uri
- Method Detail |
public int getStatus()
public java.lang.String getSessionDescription()
public MimeContentType getSessionDescriptionType()
public java.lang.String getLocalSessionDescription()
public MimeContentType getLocalSessionDescriptionType()
public java.lang.String getLocalStatusDescription()
public java.lang.String getMostRecentMessageBody()
public MimeContentType getMostRecentMessageBodyType()
public void requestInvite(java.lang.String body, MimeContentType bodytype)
public void requestCancel()
public void requestDisconnect(java.lang.String body, MimeContentType bodytype)
public void requestTransfer(SipUri transferto, java.lang.String body, MimeContentType bodytype)
public void requestMessage(java.lang.String messageBody)
public void requestOptions(java.lang.String body, MimeContentType bodytype)
public void requestInfo(java.lang.String body, MimeContentType bodytype)
body
- The body of the INFO messagebodytype
- The content type of the bodypublic void requestSubscribe(java.lang.String body, MimeContentType bodytype)
public void requestNotify(java.lang.String body, MimeContentType bodytype)
public void acceptInvite(java.lang.String body, MimeContentType bodytype)
public void acceptBye(java.lang.String body, MimeContentType bodytype)
public void acceptInfo(java.lang.String body, MimeContentType bodytype)
public void declineInvite(java.lang.String body, MimeContentType bodytype)
public SipUri getUri()
public SipUri getContactUri()
public void setContactUri(SipUri newcontact)
newcontact
- public void setUri(SipUri newuri)
newuri
- public SipUriList getRedirectList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |