|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.core.GenericObject | +--gov.nist.javax.sip.header.SIPObject | +--gov.nist.javax.sip.header.CallIdentifier
The call identifer that goes into a callID header and a in-reply-to header.
CallID
,
InReplyTo
Constructor Summary | |
CallIdentifier()
Default constructor |
|
CallIdentifier(String cid)
constructor |
|
CallIdentifier(String localId,
String host)
Constructor |
Method Summary | |
String |
encode()
Get the encoded version of this id. |
boolean |
equals(Object other)
Compare two call identifiers for equality. |
String |
getHost()
get the host field |
String |
getLocalId()
get the LocalId field |
void |
setCallID(String cid)
set the callId field |
void |
setHost(String host)
Set the host member |
void |
setLocalId(String localId)
Set the localId member |
Methods inherited from class gov.nist.javax.sip.header.SIPObject |
clone, dbgPrint, debugDump, debugDump, match, merge, replace, replace, replace, replace, toString |
Methods inherited from class gov.nist.core.GenericObject |
getClassFromName, getMatcher, isMySubclass, setMatcher |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CallIdentifier()
public CallIdentifier(String localId, String host)
host
- is the host.public CallIdentifier(String cid) throws IllegalArgumentException
cid
- String to set
IllegalArgumentException
- if cid is null or is not a token,
or token@tokenMethod Detail |
public String encode()
encode
in class SIPObject
public boolean equals(Object other)
equals
in class SIPObject
other
- Object to set
public String getLocalId()
public String getHost()
public void setLocalId(String localId)
localId
- String to setpublic void setCallID(String cid) throws IllegalArgumentException
cid
- Strimg to set
IllegalArgumentException
- if cid is null or is not a token or
token@tokenpublic void setHost(String host)
host
- String to set
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |