SDPSessionDescription Class Reference

#include <sdp.h>

List of all members.

Public Member Functions

 SDPSessionDescription (time_t sessionId, unsigned version, const OpalTransportAddress &address)
void PrintOn (ostream &strm) const
PString Encode () const
PBoolean Decode (const PString &str)
void SetSessionName (const PString &v)
PString GetSessionName () const
void SetUserName (const PString &v)
PString GetUserName () const
const SDPMediaDescriptionArray & GetMediaDescriptions () const
SDPMediaDescriptionGetMediaDescriptionByType (const OpalMediaType &rtpMediaType) const
SDPMediaDescriptionGetMediaDescriptionByIndex (PINDEX i) const
void AddMediaDescription (SDPMediaDescription *md)
void SetDirection (const SDPMediaDescription::Direction &d)
SDPMediaDescription::Direction GetDirection (unsigned) const
bool IsHold () const
const OpalTransportAddressGetDefaultConnectAddress () const
void SetDefaultConnectAddress (const OpalTransportAddress &address)
time_t GetOwnerSessionId () const
void SetOwnerSessionId (time_t value)
PINDEX GetOwnerVersion () const
void SetOwnerVersion (PINDEX value)
OpalTransportAddress GetOwnerAddress () const
void SetOwnerAddress (OpalTransportAddress addr)
unsigned GetBandwidth (const PString &type) const
void SetBandwidth (const PString &type, unsigned value)

Static Public Member Functions

static const PString & ConferenceTotalBandwidthType ()
static const PString & ApplicationSpecificBandwidthType ()
static const PString & TransportIndependentBandwidthType ()

Protected Member Functions

void ParseOwner (const PString &str)

Protected Attributes

SDPMediaDescriptionArray mediaDescriptions
SDPMediaDescription::Direction direction
PINDEX protocolVersion
PString sessionName
PString ownerUsername
time_t ownerSessionId
unsigned ownerVersion
OpalTransportAddress ownerAddress
OpalTransportAddress defaultConnectAddress
SDPBandwidth bandwidth

Constructor & Destructor Documentation

SDPSessionDescription::SDPSessionDescription ( time_t  sessionId,
unsigned  version,
const OpalTransportAddress address 
)

Member Function Documentation

void SDPSessionDescription::AddMediaDescription ( SDPMediaDescription md  )  [inline]

References mediaDescriptions.

static const PString& SDPSessionDescription::ApplicationSpecificBandwidthType (  )  [static]
static const PString& SDPSessionDescription::ConferenceTotalBandwidthType (  )  [static]
PBoolean SDPSessionDescription::Decode ( const PString &  str  ) 
PString SDPSessionDescription::Encode (  )  const
unsigned SDPSessionDescription::GetBandwidth ( const PString &  type  )  const [inline]

References bandwidth.

const OpalTransportAddress& SDPSessionDescription::GetDefaultConnectAddress (  )  const [inline]

References defaultConnectAddress.

SDPMediaDescription::Direction SDPSessionDescription::GetDirection ( unsigned   )  const
SDPMediaDescription* SDPSessionDescription::GetMediaDescriptionByIndex ( PINDEX  i  )  const
SDPMediaDescription* SDPSessionDescription::GetMediaDescriptionByType ( const OpalMediaType rtpMediaType  )  const
const SDPMediaDescriptionArray& SDPSessionDescription::GetMediaDescriptions (  )  const [inline]

References mediaDescriptions.

OpalTransportAddress SDPSessionDescription::GetOwnerAddress (  )  const [inline]

References ownerAddress.

time_t SDPSessionDescription::GetOwnerSessionId (  )  const [inline]

References ownerSessionId.

PINDEX SDPSessionDescription::GetOwnerVersion (  )  const [inline]

References ownerVersion.

PString SDPSessionDescription::GetSessionName (  )  const [inline]

References sessionName.

PString SDPSessionDescription::GetUserName (  )  const [inline]

References ownerUsername.

bool SDPSessionDescription::IsHold (  )  const
void SDPSessionDescription::ParseOwner ( const PString &  str  )  [protected]
void SDPSessionDescription::PrintOn ( ostream &  strm  )  const
void SDPSessionDescription::SetBandwidth ( const PString &  type,
unsigned  value 
) [inline]

References bandwidth.

void SDPSessionDescription::SetDefaultConnectAddress ( const OpalTransportAddress address  ) 
void SDPSessionDescription::SetDirection ( const SDPMediaDescription::Direction d  )  [inline]

References direction.

void SDPSessionDescription::SetOwnerAddress ( OpalTransportAddress  addr  )  [inline]

References ownerAddress.

void SDPSessionDescription::SetOwnerSessionId ( time_t  value  )  [inline]

References ownerSessionId.

void SDPSessionDescription::SetOwnerVersion ( PINDEX  value  )  [inline]

References ownerVersion.

void SDPSessionDescription::SetSessionName ( const PString &  v  )  [inline]

References sessionName.

void SDPSessionDescription::SetUserName ( const PString &  v  )  [inline]

References ownerUsername.

static const PString& SDPSessionDescription::TransportIndependentBandwidthType (  )  [static]

Member Data Documentation

Referenced by GetBandwidth(), and SetBandwidth().

Referenced by SetDirection().

SDPMediaDescriptionArray SDPSessionDescription::mediaDescriptions [protected]

Referenced by GetOwnerAddress(), and SetOwnerAddress().

Referenced by GetUserName(), and SetUserName().

Referenced by GetOwnerVersion(), and SetOwnerVersion().

Referenced by GetSessionName(), and SetSessionName().


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 00:29:40 2010 for OPAL by  doxygen 1.6.3