|
Public Member Functions |
| | SIPTransaction (SIPEndPoint &endpoint, OpalTransport &transport) |
| | SIPTransaction (SIPConnection &connection, OpalTransport &transport, Methods method=NumMethods) |
| | ~SIPTransaction () |
| BOOL | Start () |
| BOOL | IsInProgress () const |
| BOOL | IsFailed () const |
| BOOL | IsFinished () |
| void | Wait () |
| BOOL | SendCANCEL () |
| virtual BOOL | OnReceivedResponse (SIP_PDU &response) |
| virtual BOOL | OnCompleted (SIP_PDU &response) |
| OpalTransport & | GetTransport () const |
| SIPConnection * | GetConnection () const |
| const OpalTransportAddress & | GetLocalAddress () const |
Protected Types |
| enum | States {
NotStarted,
Trying,
Proceeding,
Cancelling,
Completed,
Terminated_Success,
Terminated_Timeout,
Terminated_RetriesExceeded,
Terminated_TransportError,
Terminated_Cancelled,
NumStates
} |
Protected Member Functions |
| void | Construct () |
| BOOL | ResendCANCEL () |
| | PDECLARE_NOTIFIER (PTimer, SIPTransaction, OnRetry) |
| | PDECLARE_NOTIFIER (PTimer, SIPTransaction, OnTimeout) |
| void | SetTerminated (States newState) |
Protected Attributes |
| SIPEndPoint & | endpoint |
| OpalTransport & | transport |
| SIPConnection * | connection |
| States | state |
| unsigned | retry |
| PTimer | retryTimer |
| PTimer | completionTimer |
| PSyncPoint | finished |
| PTimedMutex | mutex |
| OpalTransportAddress | localAddress |