|
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.Protocol
Protocol name and version.
Constructor Summary | |
Protocol()
Default constructor. |
Method Summary | |
String |
encode()
Return canonical form. |
boolean |
equals(Object other)
Compare two To headers for equality. |
String |
getProtocolName()
get the protocol name |
String |
getProtocolVersion()
get the protocol version |
String |
getTransport()
get the transport |
void |
setProtocolName(String p)
Set the protocolName member |
void |
setProtocolVersion(String p)
Set the protocolVersion member |
void |
setTransport(String t)
Set the transport 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 Protocol()
Method Detail |
public boolean equals(Object other)
equals
in class SIPObject
other
- Object to set
public String encode()
encode
in class SIPObject
public String getProtocolName()
public String getProtocolVersion()
public String getTransport()
public void setProtocolName(String p)
p
- String to setpublic void setProtocolVersion(String p)
p
- String to setpublic void setTransport(String t)
t
- 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 |