|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.OriginField
Origin Field SDP header
| Field Summary |
| Fields inherited from interface gov.nist.javax.sdp.fields.SDPFieldNames |
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
| Constructor Summary | |
OriginField()
|
|
| Method Summary | |
Object |
clone()
Returns a clone of this field. |
String |
encode()
Get the string encoded version of this object |
String |
getAddress()
Returns the type of the network for this Connection. |
String |
getAddressType()
Returns the type of the address for this Connection. |
String |
getAddrtype()
Get the address type member. |
gov.nist.core.Host |
getHost()
Get the host member. |
String |
getNettype()
Get the netType member. |
String |
getNetworkType()
Returns the type of the network for this Connection |
long |
getSessId()
Get the sessionID member. |
long |
getSessionId()
Returns the unique identity of the session. |
long |
getSessionVersion()
Returns the unique version of the session. |
long |
getSessVersion()
Get the sessionVersion member. |
String |
getUsername()
Returns the name of the session originator. |
void |
setAddress(gov.nist.core.Host a)
Set the address member |
void |
setAddress(String addr)
Sets the type of the address for this Connection. |
void |
setAddressType(String type)
Returns the type of the network for this Connection. |
void |
setAddrtype(String a)
Set the addrtype member |
void |
setNettype(String n)
Set the nettype member |
void |
setNetworkType(String type)
Sets the type of the network for this Connection. |
void |
setSessId(long s)
Set the sessId member |
void |
setSessionId(long id)
Sets the unique identity of the session. |
void |
setSessionVersion(long version)
Sets the unique version of the session. |
void |
setSessVersion(long s)
Set the sessVersion member |
void |
setUsername(String user)
Sets the name of the session originator. |
| Methods inherited from class gov.nist.javax.sdp.fields.SDPField |
getFieldName, getTypeChar, toString |
| Methods inherited from class gov.nist.javax.sdp.fields.SDPObject |
dbgPrint, debugDump, equals, match |
| Methods inherited from class gov.nist.core.GenericObject |
debugDump, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.sdp.Field |
getTypeChar |
| Constructor Detail |
public OriginField()
| Method Detail |
public String getUsername()
throws SdpParseException
getUsername in interface OriginSdpParseExceptionpublic long getSessId()
public long getSessVersion()
public String getNettype()
public String getAddrtype()
public gov.nist.core.Host getHost()
public void setSessId(long s)
public void setSessVersion(long s)
public void setNettype(String n)
public void setAddrtype(String a)
public void setAddress(gov.nist.core.Host a)
public void setUsername(String user)
throws SdpException
setUsername in interface Originuser - the string username.
SdpException - if the parameter is null
public long getSessionId()
throws SdpParseException
getSessionId in interface OriginSdpParseException
public void setSessionId(long id)
throws SdpException
setSessionId in interface Originid - the session id.
SdpException - if the id is <0
public long getSessionVersion()
throws SdpParseException
getSessionVersion in interface OriginSdpException
SdpParseException
public void setSessionVersion(long version)
throws SdpException
setSessionVersion in interface Originversion - the session version.
SdpException - if the version is <0
public String getAddress()
throws SdpParseException
getAddress in interface OriginSdpParseException
public String getAddressType()
throws SdpParseException
getAddressType in interface OriginSdpParseException
public String getNetworkType()
throws SdpParseException
getNetworkType in interface OriginSdpParseException
public void setAddress(String addr)
throws SdpException
setAddress in interface Originaddr - string address type.
SdpException - if the addr is null
public void setAddressType(String type)
throws SdpException
setAddressType in interface Origintype - the string network type.
SdpException - if the type is null
public void setNetworkType(String type)
throws SdpException
setNetworkType in interface Origintype - the string network type.
SdpException - if the type is nullpublic String encode()
encode in class SDPFieldpublic Object clone()
Field
clone in interface Field
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||