| javax.microedition.sip.SipDialog
All known Subclasses: gov.nist.microedition.sip.SipDialogImpl,
SipDialog | public interface SipDialog (Code) | | SipDialog represents one SIP Dialog.
See Also: JSR180 See Also: spec, v 1.0.1, p 42-47 |
Field Summary | |
final public static byte | CONFIRMED final 2xx response received (or sent)
All methods available. | final public static byte | EARLY provisional 101-199 response received (or sent)
Method getNewClientConnection() can not be called in this state. | final public static byte | TERMINATED no response or error response (3xx-6xx) received (or sent). |
CONFIRMED | final public static byte CONFIRMED(Code) | | final 2xx response received (or sent)
All methods available.
|
EARLY | final public static byte EARLY(Code) | | provisional 101-199 response received (or sent)
Method getNewClientConnection() can not be called in this state.
|
TERMINATED | final public static byte TERMINATED(Code) | | no response or error response (3xx-6xx) received (or sent).
Also if the dialog is terminated with BYE or un-SUBSCRIBE.
|
getDialogID | public java.lang.String getDialogID()(Code) | | Returns the ID of the SIP Dialog.
Dialog ID (Call-ID + remote tag + local tag).Returns null if the dialog is terminated. |
getState | public byte getState()(Code) | | Returns the state of the SIP Dialog.
dialog state byte number. |
isSameDialog | public boolean isSameDialog(javax.microedition.sip.SipConnection sc)(Code) | | Does the given SipConnection belong to this dialog.
Parameters: sc - - SipConnection to be checked, can be eitherSipClientConnection or SipServerConnection true if the SipConnection belongs to the this dialog.Returns falseif the connection is not part of this dialog or the dialog is terminated. |
|
|