API published in: S60 2nd Ed
Link against: sipclient.lib
Location NetworkControl NetworkServices ReadDeviceData WriteDeviceData
#include <sipconnection.h>
Note that the user can have only one instance of the class per same IAP-id.
Public Types | |
| enum | TState { EInit = 1, EActive, ESuspended, EInactive, EUnavailable } |
| Connection states. More... | |
Public Member Functions | |
| IMPORT_C | ~CSIPConnection () |
| Destructor NetworkServices. | |
| IMPORT_C TState | State () const |
| Gets current state of the connection. | |
| IMPORT_C CSIPClientTransaction * | SendRequestL (CSIPRequestElements *aElements, const MSIPRegistrationContext &aContext) |
| Creates SIP request and sends it to the given destination. | |
| IMPORT_C CSIPClientTransaction * | SendRequestL (CSIPRequestElements *aElements, const MSIPRegistrationContext &aContext, CSIPRefresh &aRefresh) |
| Creates SIP request and sends it to the given destination. | |
| IMPORT_C CSIPClientTransaction * | SendRequestL (CSIPRequestElements *aElements) |
| Creates SIP request and sends it to the given destination. | |
| IMPORT_C CSIPClientTransaction * | SendRequestL (CSIPRequestElements *aElements, CSIPRefresh &aRefresh) |
| Creates SIP request and sends it to the given destination. | |
| IMPORT_C CSIPClientTransaction * | FetchRegistrationsL (CSIPRequestElements *aElements) |
| Creates SIP REGISTER request and sends it to the given destination. | |
| IMPORT_C TUint32 | IapId () const |
| Gets Iap-id used for this connection. | |
| IMPORT_C CSIP * | SIP () |
| Gets SIP server handle. | |
| IMPORT_C const CSIP * | SIP () const |
| Gets SIP server handle. | |
| IMPORT_C void | SetOptL (TUint aOptionName, TUint aOptionLevel, const TDesC8 &aOption=KNullDesC8) |
| Sets a RSocket option used for all the sockets used for sending SIP requests and responses in this CSIPConnection. | |
| IMPORT_C void | SetOptL (TUint aOptionName, TUint aOptionLevel, TInt aOption) |
| Sets a RSocket option used for all the sockets used for sending SIP requests and responses in this CSIPConnection. | |
| IMPORT_C void | GetLocalAddrL (TInetAddr &aAddr) const |
| Gets the local IP address of this CSIPConnection that is used by the SIP implementation. | |
| CSIPConnectionImplementation & | Implementation () |
| Returns the implementation instance. | |
Static Public Member Functions | |
| static IMPORT_C CSIPConnection * | NewL (CSIP &aSIP, TUint32 aIapId, MSIPConnectionObserver &aObserver) |
| Two-phased constructor. | |
| static IMPORT_C CSIPConnection * | NewLC (CSIP &aSIP, TUint32 aIapId, MSIPConnectionObserver &aObserver) |
| Two-phased constructor. | |
|
|
Connection states. |
|
|
Destructor NetworkServices. |
|
|
Creates SIP REGISTER request and sends it to the given destination. User must no define any Contact or Expires-headers in the provided elements.
|
|
|
Gets the local IP address of this CSIPConnection that is used by the SIP implementation. The user should re-new the call whenever the connection state changes to the CSIPConnection::EActive in order to verify the correctness of the previously retrieved local IP address. The local IP address might be different as a result of the connection state change.
|
|
|
Gets Iap-id used for this connection.
|
|
|
Returns the implementation instance.
|
| ||||||||||||||||
|
Two-phased constructor.
|
| ||||||||||||||||
|
Two-phased constructor. Constructs an object and adds the pointer to the cleanup stack;
|
| ||||||||||||
|
Creates SIP request and sends it to the given destination. The function must not be used with SIP requests that creates SIP dialog associations or must be sent within SIP dialog association. This invokes the Non-invite state machine.
|
|
|
Creates SIP request and sends it to the given destination. The function must not be used with SIP requests that creates SIP dialog associations or must be sent within SIP dialog association. This invokes the Non-invite state machine.
|
| ||||||||||||||||
|
Creates SIP request and sends it to the given destination. The function must not be used with SIP requests that creates SIP dialog associations or must be sent within SIP dialog association. This provokes the Non-invite state machine. This function must be used if the user has created the registration binding.
|
| ||||||||||||
|
Creates SIP request and sends it to the given destination. The function must not be used with SIP requests that creates SIP dialog associations or must be sent within SIP dialog association. This provokes the Non-invite state machine. This function must be used if the user has created the registration binding.
|
| ||||||||||||||||
|
Sets a RSocket option used for all the sockets used for sending SIP requests and responses in this CSIPConnection.
|
| ||||||||||||||||
|
Sets a RSocket option used for all the sockets used for sending SIP requests and responses in this CSIPConnection.
|
|
|
Gets SIP server handle.
|
|
|
Gets SIP server handle.
|
|
|
Gets current state of the connection.
|