An SDP origin element. More...
Public Member Functions | |
String | getAddressType () |
Gets the type of the address. More... | |
String | getNetworkType () |
Gets the type of network. More... | |
long | getSessionId () |
Gets the globally unique identifier for the session. More... | |
long | getSessionVersion () |
Gets the version number for the session. More... | |
String | getUnicastAddress () |
Gets the address of the machine from which the session was created. More... | |
String | getUsername () |
Gets the user's login on the originating host. More... | |
Origin (String unicastAddress) | |
Initializes a new instance of the fm.liveswitch.sdp.Origin class. More... | |
Origin (String unicastAddress, String username) | |
Initializes a new instance of the fm.liveswitch.sdp.Origin class. More... | |
void | setAddressType (String value) |
Sets the type of the address. More... | |
void | setNetworkType (String value) |
Sets the type of network. More... | |
void | setSessionId (long value) |
Sets the globally unique identifier for the session. More... | |
void | setSessionVersion (long value) |
Sets the version number for the session. More... | |
void | setUnicastAddress (String value) |
Sets the address of the machine from which the session was created. More... | |
void | setUsername (String value) |
Sets the user's login on the originating host. More... | |
String | toString () |
Converts this instance to a string. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.Origin | parse (String s) |
Creates an fm.liveswitch.sdp.Origin instance from a string. More... | |
An SDP origin element.
fm.liveswitch.sdp.Origin.Origin | ( | String | unicastAddress | ) |
Initializes a new instance of the fm.liveswitch.sdp.Origin class.
unicastAddress | The address of the machine from which the session was created. |
fm.liveswitch.sdp.Origin.Origin | ( | String | unicastAddress, |
String | username | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.Origin class.
unicastAddress | The address of the machine from which the session was created. |
username | The user's login on the originating host. |
String fm.liveswitch.sdp.Origin.getAddressType | ( | ) |
Gets the type of the address.
See fm.liveswitch.sdp.Origin#getAddressType for possible values.
String fm.liveswitch.sdp.Origin.getNetworkType | ( | ) |
Gets the type of network.
See fm.liveswitch.sdp.Origin#getNetworkType for possible values.
long fm.liveswitch.sdp.Origin.getSessionId | ( | ) |
Gets the globally unique identifier for the session.
long fm.liveswitch.sdp.Origin.getSessionVersion | ( | ) |
Gets the version number for the session.
String fm.liveswitch.sdp.Origin.getUnicastAddress | ( | ) |
Gets the address of the machine from which the session was created.
String fm.liveswitch.sdp.Origin.getUsername | ( | ) |
Gets the user's login on the originating host.
|
static |
Creates an fm.liveswitch.sdp.Origin instance from a string.
s | The string to parse. |
void fm.liveswitch.sdp.Origin.setAddressType | ( | String | value | ) |
Sets the type of the address.
See fm.liveswitch.sdp.Origin#getAddressType for possible values.
void fm.liveswitch.sdp.Origin.setNetworkType | ( | String | value | ) |
Sets the type of network.
See fm.liveswitch.sdp.Origin#getNetworkType for possible values.
void fm.liveswitch.sdp.Origin.setSessionId | ( | long | value | ) |
Sets the globally unique identifier for the session.
void fm.liveswitch.sdp.Origin.setSessionVersion | ( | long | value | ) |
Sets the version number for the session.
void fm.liveswitch.sdp.Origin.setUnicastAddress | ( | String | value | ) |
Sets the address of the machine from which the session was created.
void fm.liveswitch.sdp.Origin.setUsername | ( | String | value | ) |
Sets the user's login on the originating host.
String fm.liveswitch.sdp.Origin.toString | ( | ) |
Converts this instance to a string.