|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Origin
An Origin represents the o= fields contained within a SessionDescription. The Origin field identifies the originator of the session. This is not necessarily the same entity who is involved in the session. The Origin contains: the name of the user originating the session, a unique session identifier, and a unique version for the session. These fields should uniquely identify the session. The Origin also includes: the network type, address type, and address of the originator. Please refer to IETF RFC 2327 for a description of SDP.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.lastbamboo.common.sdp.api.Field |
|---|
clone, getTypeChar |
| Method Detail |
|---|
String getUsername()
throws SdpParseException
SdpParseException
void setUsername(String user)
throws SdpException
user - the string username.
SdpException - if the parameter is null
long getSessionId()
throws SdpParseException
SdpParseException
void setSessionId(long id)
throws SdpException
id - the session id.
SdpException - if the id is <0
long getSessionVersion()
throws SdpParseException
SdpException
SdpParseException
void setSessionVersion(long version)
throws SdpException
version - the session version.
SdpException - if the version is <0
String 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 null
void setAddressType(String type)
throws SdpException
type - the string network type.
SdpException - if the type is null
void setNetworkType(String type)
throws SdpException
type - the string network type.
SdpException - if the type is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||