public interface Origin extends Field
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Returns the type of the network for this Connection.
|
String |
getAddressType()
Returns the type of the address for this Connection.
|
String |
getNetworkType()
Returns the type of the network for this Connection
|
long |
getSessionId()
Returns the unique identity of the session.
|
long |
getSessionVersion()
Returns the unique version of the session.
|
String |
getUsername()
Returns the name of the session originator.
|
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 |
setNetworkType(String type)
Sets the type of the network for this Connection.
|
void |
setSessionId(long id)
Sets the unique identity of the session.
|
void |
setSessionVersion(long version)
Sets the unique version of the session.
|
void |
setUsername(String user)
Sets the name of the session originator.
|
clone, getTypeChar
String getUsername() throws SdpParseException
SdpParseException
void setUsername(String user) throws SdpException
user
- the string username.SdpException
- if the parameter is nulllong getSessionId() throws SdpParseException
SdpParseException
void setSessionId(long id) throws SdpException
id
- the session id.SdpException
- if the id is <0long getSessionVersion() throws SdpParseException
SdpException
SdpParseException
void setSessionVersion(long version) throws SdpException
version
- the session version.SdpException
- if the version is <0String getAddress() throws SdpParseException
SdpParseException
String getAddressType() throws SdpParseException
SdpParseException
String getNetworkType() throws SdpParseException
SdpParseException
void setAddress(String addr) throws SdpException
addr
- string address type.SdpException
- if the addr is nullvoid setAddressType(String type) throws SdpException
type
- the string network type.SdpException
- if the type is nullvoid setNetworkType(String type) throws SdpException
type
- the string network type.SdpException
- if the type is nullCopyright © 2017. All Rights Reserved.