Location:
sipservertransaction.h
Link against: sipclient.lib
class CSIPServerTransaction : public CSIPTransactionBase;
Class for managing SIP server transactions. It provides services for creating, ending and getting SIP transaction parameters. Client cannot instantiate this class.
sipclient
CBase
- Base class for all classes to be instantiated on the heap
CSIPTransactionBase
- Base class for managing SIP transactions
CSIPServerTransaction
- Class for managing SIP server transactions
Defined in CSIPServerTransaction
:
RequestElements()
, ResponseAllowed()
, SendResponseL()
, ~CSIPServerTransaction()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CSIPTransactionBase
:
ECalling
,
ECompleted
,
EConfirmed
,
EConstructing
,
EProceeding
,
ETerminated
,
ETrying
,
IsSIPClientTransaction()
,
StateL()
,
TState
,
Type()
,
operator==()
Capability: | NetworkServices |
IMPORT_C void SendResponseL(CSIPResponseElements *aElements);
aElements!=0
State()==ETrying || State()==EProceeding
CSIPConnection::State()
==EActive
ResponseAllowed()
==ETrue
Sends response and ends the transaction; The user must not send 100 Trying response. Leaves on failure.
|
|
IMPORT_C const CSIPRequestElements *RequestElements() const;
Gets the request elements
|
IMPORT_C TBool ResponseAllowed() const;
Checks if the response sending is allowed for this server transaction. For instance response is not allowed in ACK transaction.
|