#include <sippdu.h>
Inheritance diagram for SIP_PDU:

| enum SIP_PDU::Methods |
| enum SIP_PDU::StatusCodes |
| SIP_PDU::SIP_PDU | ( | ) |
| SIP_PDU::SIP_PDU | ( | Methods | method, | |
| const SIPURL & | dest, | |||
| const PString & | to, | |||
| const PString & | from, | |||
| const PString & | callID, | |||
| unsigned | cseq, | |||
| const OpalTransportAddress & | via | |||
| ) |
Construct a Request message
| SIP_PDU::SIP_PDU | ( | Methods | method, | |
| SIPConnection & | connection, | |||
| const OpalTransport & | transport | |||
| ) |
Construct a Request message for requests in a dialog
| SIP_PDU::SIP_PDU | ( | const SIP_PDU & | request, | |
| StatusCodes | code, | |||
| const char * | contact = NULL, |
|||
| const char * | extra = NULL | |||
| ) |
Construct a Response message extra is passed as message body
| SIP_PDU::SIP_PDU | ( | const SIP_PDU & | ) |
| SIP_PDU::~SIP_PDU | ( | ) |
| static const char* SIP_PDU::GetStatusCodeDescription | ( | int | code | ) | [static] |
| void SIP_PDU::PrintOn | ( | ostream & | strm | ) | const |
| void SIP_PDU::Construct | ( | Methods | method | ) |
| void SIP_PDU::Construct | ( | Methods | method, | |
| const SIPURL & | dest, | |||
| const PString & | to, | |||
| const PString & | from, | |||
| const PString & | callID, | |||
| unsigned | cseq, | |||
| const OpalTransportAddress & | via | |||
| ) |
| void SIP_PDU::Construct | ( | Methods | method, | |
| SIPConnection & | connection, | |||
| const OpalTransport & | transport | |||
| ) |
| BOOL SIP_PDU::SetRoute | ( | const PStringList & | routeSet | ) |
Add and populate Route header following the given routeSet. If first route is strict, exchange with URI. Returns TRUE if routeSet.
| void SIP_PDU::SetAllow | ( | void | ) |
Set mime allow field to all supported methods.
| void SIP_PDU::AdjustVia | ( | OpalTransport & | transport | ) |
Update the VIA field following RFC3261, 18.2.1 and RFC3581.
| OpalTransportAddress SIP_PDU::GetViaAddress | ( | OpalEndPoint & | ) |
Return the address from the via field. That address should be used to send responses to incoming PDUs.
| OpalTransportAddress SIP_PDU::GetSendAddress | ( | const PStringList & | routeSet | ) |
Return the address to which the request PDU should be sent according to the RFC, for a request in a dialog.
| BOOL SIP_PDU::Read | ( | OpalTransport & | transport | ) |
Read PDU from the specified transport.
| BOOL SIP_PDU::Write | ( | OpalTransport & | transport, | |
| const OpalTransportAddress & | remoteAddress = OpalTransportAddress() | |||
| ) |
Write the PDU to the transport.
| PString SIP_PDU::Build | ( | ) |
Construct the PDU string to output. Returns the total length of the PDU.
| PString SIP_PDU::GetTransactionID | ( | ) | const |
| Methods SIP_PDU::GetMethod | ( | ) | const [inline] |
| StatusCodes SIP_PDU::GetStatusCode | ( | ) | const [inline] |
| const SIPURL& SIP_PDU::GetURI | ( | ) | const [inline] |
| unsigned SIP_PDU::GetVersionMajor | ( | ) | const [inline] |
| unsigned SIP_PDU::GetVersionMinor | ( | ) | const [inline] |
| const PString& SIP_PDU::GetEntityBody | ( | ) | const [inline] |
| PString& SIP_PDU::GetEntityBody | ( | ) | [inline] |
| const PString& SIP_PDU::GetInfo | ( | ) | const [inline] |
| const SIPMIMEInfo& SIP_PDU::GetMIME | ( | ) | const [inline] |
| SIPMIMEInfo& SIP_PDU::GetMIME | ( | ) | [inline] |
| BOOL SIP_PDU::HasSDP | ( | ) | const [inline] |
| SDPSessionDescription& SIP_PDU::GetSDP | ( | ) | const [inline] |
| void SIP_PDU::SetSDP | ( | SDPSessionDescription * | s | ) | [inline] |
| void SIP_PDU::SetSDP | ( | const SDPSessionDescription & | s | ) | [inline] |
Methods SIP_PDU::method [protected] |
StatusCodes SIP_PDU::statusCode [protected] |
SIPURL SIP_PDU::uri [protected] |
unsigned SIP_PDU::versionMajor [protected] |
unsigned SIP_PDU::versionMinor [protected] |
PString SIP_PDU::info [protected] |
SIPMIMEInfo SIP_PDU::mime [protected] |
PString SIP_PDU::entityBody [protected] |
OpalTransportAddress SIP_PDU::lastTransportAddress [protected] |
SDPSessionDescription* SIP_PDU::sdp [protected] |
1.5.1