OPAL Version 3.10.2
|
#include <sippdu.h>
Session Initiation Protocol transaction. A transaction is a stateful independent entity that provides services to a connection (Transaction User). Transactions are contained within connections. A client transaction handles sending a request and receiving its responses. A server transaction handles sending responses to a received request. In either case the SIP_PDU ancestor is the sent or received request.
enum SIPTransaction::States [protected] |
SIPTransaction::SIPTransaction | ( | Methods | method, |
SIPEndPoint & | endpoint, | ||
OpalTransport & | transport | ||
) |
SIPTransaction::SIPTransaction | ( | Methods | method, |
SIPConnection & | connection | ||
) |
Construct a transaction for requests in a dialog. The transport is used to determine the local address
SIPTransaction::~SIPTransaction | ( | ) |
void SIPTransaction::Abort | ( | ) |
PBoolean SIPTransaction::Cancel | ( | ) |
virtual SIPTransaction* SIPTransaction::CreateDuplicate | ( | ) | const [pure virtual] |
Implemented in SIPResponse, SIPInvite, SIPBye, SIPRegister, SIPSubscribe, SIPNotify, SIPPublish, SIPRefer, SIPReferNotify, SIPMessage, SIPOptions, SIPInfo, SIPPing, and SIPPrack.
static PString SIPTransaction::GenerateCallID | ( | ) | [static] |
SIPConnection* SIPTransaction::GetConnection | ( | ) | const [inline] |
References m_connection.
PString SIPTransaction::GetInterface | ( | ) | const [inline] |
References m_localInterface.
OpalTransport& SIPTransaction::GetTransport | ( | ) | const [inline] |
References m_transport.
bool SIPTransaction::IsCanceled | ( | ) | const [inline] |
References Cancelling, m_state, Terminated_Aborted, and Terminated_Cancelled.
bool SIPTransaction::IsFailed | ( | ) | const [inline] |
References m_state, and Terminated_Success.
bool SIPTransaction::IsInProgress | ( | ) | const [inline] |
References m_state, Proceeding, and Trying.
bool SIPTransaction::IsProceeding | ( | ) | const [inline] |
References m_state, and Proceeding.
bool SIPTransaction::IsTerminated | ( | ) | const [inline] |
References m_state, and Terminated_Success.
virtual PBoolean SIPTransaction::OnCompleted | ( | SIP_PDU & | response | ) | [virtual] |
virtual PBoolean SIPTransaction::OnReceivedResponse | ( | SIP_PDU & | response | ) | [virtual] |
Reimplemented in SIPInvite.
SIPTransaction::PDECLARE_NOTIFIER | ( | PTimer | , |
SIPTransaction | , | ||
OnRetry | |||
) | [protected] |
SIPTransaction::PDECLARE_NOTIFIER | ( | PTimer | , |
SIPTransaction | , | ||
OnTimeout | |||
) | [protected] |
bool SIPTransaction::ResendCANCEL | ( | ) | [protected] |
bool SIPTransaction::SendPDU | ( | SIP_PDU & | pdu | ) | [protected] |
void SIPTransaction::SetInterface | ( | const PString & | localIf | ) | [inline] |
References m_localInterface.
void SIPTransaction::SetParameters | ( | const SIPParameters & | params | ) | [protected] |
virtual void SIPTransaction::SetTerminated | ( | States | newState | ) | [protected, virtual] |
PBoolean SIPTransaction::Start | ( | ) |
void SIPTransaction::WaitForCompletion | ( | ) |
PSyncPoint SIPTransaction::m_completed [protected] |
PTimer SIPTransaction::m_completionTimer [protected] |
PSafePtr<SIPConnection> SIPTransaction::m_connection [protected] |
Referenced by GetConnection().
SIPEndPoint& SIPTransaction::m_endpoint [protected] |
PString SIPTransaction::m_localInterface [protected] |
Referenced by GetInterface(), and SetInterface().
OpalTransportAddress SIPTransaction::m_remoteAddress [protected] |
unsigned SIPTransaction::m_retry [protected] |
PTimeInterval SIPTransaction::m_retryTimeoutMax [protected] |
PTimeInterval SIPTransaction::m_retryTimeoutMin [protected] |
PTimer SIPTransaction::m_retryTimer [protected] |
States SIPTransaction::m_state [protected] |
Referenced by IsCanceled(), IsCompleted(), IsFailed(), IsInProgress(), IsProceeding(), IsTerminated(), and IsTrying().
OpalTransport& SIPTransaction::m_transport [protected] |
Referenced by GetTransport().