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, getTypeCharString getUsername() throws SdpParseException
SdpParseExceptionvoid setUsername(String user) throws SdpException
user - the string username.SdpException - if the parameter is nulllong getSessionId()
throws SdpParseException
SdpParseExceptionvoid setSessionId(long id)
throws SdpException
id - the session id.SdpException - if the id is <0long getSessionVersion()
throws SdpParseException
SdpExceptionSdpParseExceptionvoid setSessionVersion(long version)
throws SdpException
version - the session version.SdpException - if the version is <0String getAddress() throws SdpParseException
SdpParseExceptionString getAddressType() throws SdpParseException
SdpParseExceptionString getNetworkType() throws SdpParseException
SdpParseExceptionvoid 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 © 2018. All Rights Reserved.