|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Process c= (connection) lines in SDP. More...
#include <SdpContents.hxx>
Public Member Functions | |
| Connection (AddrType addType, const Data &address, unsigned long ttl=0) | |
| constructor | |
| Connection (const Connection &rhs) | |
| Connection & | operator= (const Connection &rhs) |
| void | parse (ParseBuffer &pb) |
| EncodeStream & | encode (EncodeStream &) const |
| AddrType | getAddressType () const |
| returns the connection address type | |
| const Data & | getAddress () const |
| returns the connection address | |
| void | setAddress (const Data &host, AddrType type=IP4) |
| set the address for the connection | |
| unsigned long | ttl () const |
| unsigned long & | ttl () |
Friends | |
| class | Session |
| class | Medium |
Process c= (connection) lines in SDP.
This line specifies the IP address and address type used in the session
Definition at line 349 of file SdpContents.hxx.
| SdpContents::Session::Connection::Connection | ( | AddrType | addType, |
| const Data & | address, | ||
| unsigned long | ttl = 0 |
||
| ) |
constructor
| addType | address type (IP4 or IP6) |
| address | IP address |
| ttl | time to live |
Definition at line 502 of file SdpContents.cxx.
| SdpContents::Session::Connection::Connection | ( | const Connection & | rhs | ) |
Definition at line 516 of file SdpContents.cxx.
| EncodeStream & SdpContents::Session::Connection::encode | ( | EncodeStream & | s | ) | const |
Definition at line 536 of file SdpContents.cxx.
|
inline |
|
inline |
returns the connection address type
Definition at line 372 of file SdpContents.hxx.
| SdpContents::Session::Connection & SdpContents::Session::Connection::operator= | ( | const Connection & | rhs | ) |
Definition at line 524 of file SdpContents.cxx.
| void SdpContents::Session::Connection::parse | ( | ParseBuffer & | pb | ) |
Definition at line 557 of file SdpContents.cxx.
set the address for the connection
| host | IP address to associate with the connection |
| type | type of addressing |
Definition at line 550 of file SdpContents.cxx.
|
inline |
Definition at line 387 of file SdpContents.hxx.
|
inline |
Definition at line 386 of file SdpContents.hxx.
|
friend |
Definition at line 397 of file SdpContents.hxx.
|
friend |
Definition at line 396 of file SdpContents.hxx.