MSIPClientConnectionObserver Class Reference

class MSIPClientConnectionObserver

Member Functions Documentation

ConnectionStateChanged(CSIPConnection::TState)

void ConnectionStateChanged ( CSIPConnection::TState aState ) [pure virtual]

Is called when the connection state changes

Parameters

CSIPConnection::TState aState indicates the current connection state

DialogErrorOccured(TInt, TUint32, TUint32)

void DialogErrorOccured ( TInt aError,
TUint32 aDialogId,
TUint32 aRequestId
) [pure virtual]

An asynchronous error has occured related to a request within an existing dialog.

Parameters

TInt aError error code
TUint32 aDialogId the dialog id
TUint32 aRequestId the request id

DialogErrorOccured(TInt, TUint32, TUint32, TUint32)

void DialogErrorOccured ( TInt aError,
TUint32 aDialogId,
TUint32 aRefreshId,
TUint32 aRequestId
) [pure virtual]

An asynchronous error has occured related to a request within an existing dialog.

Parameters

TInt aError error code
TUint32 aDialogId the dialog id
TUint32 aRefreshId the refresh id
TUint32 aRequestId the request id

ErrorOccured(TInt, TUint32)

void ErrorOccured ( TInt aError,
TUint32 aRequestId
) [pure virtual]

An asynchronous error has occurred in the stack related to the request indicated by the given request id.

Parameters

TInt aError error code
TUint32 aRequestId the request id

IncomingDialogRequestL(CSIPRequestElements *, TUint32, TUint32)

void IncomingDialogRequestL ( CSIPRequestElements * aRequest,
TUint32 aRequestId,
TUint32 aDialogId
) [pure virtual]

A SIP request within a dialog has been received from the network.

Parameters

CSIPRequestElements * aRequest contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the id to be used when sending the SIP response
TUint32 aDialogId identifies the dialog to which this request belongs to.

IncomingDialogResponseL(CSIPResponseElements *, TUint32, TUint32)

void IncomingDialogResponseL ( CSIPResponseElements * aResponse,
TUint32 aRequestId,
TUint32 aDialogId
) [pure virtual]

A SIP response within a dialog or a one that creates a dialog has been received from the network.

Parameters

CSIPResponseElements * aResponse contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the request id to be used when matching the response to the sent request.
TUint32 aDialogId the id to be used when sending requests within dialogs.

IncomingDialogResponseL(CSIPResponseElements *, TUint32, TUint32, TUint32)

void IncomingDialogResponseL ( CSIPResponseElements * aResponse,
TUint32 aRequestId,
TUint32 aRefreshId,
TUint32 aDialogId
) [pure virtual]

A SIP response within a dialog or a one that creates a dialog has been received from the network.

Parameters

CSIPResponseElements * aResponse contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the request id to be used when matching the response to the sent request.
TUint32 aRefreshId the refresh id
TUint32 aDialogId the id to be used when sending requests within dialogs.

IncomingRefreshResponseL(CSIPResponseElements *, TUint32, TUint32)

void IncomingRefreshResponseL ( CSIPResponseElements * aResponse,
TUint32 aRequestId,
TUint32 aRefreshId
) [pure virtual]

A SIP response that creates a refresh or an error response that is related to an existing refresh has been received from the network.

Parameters

CSIPResponseElements * aResponse contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the request id to be used when matching the response to the sent request.
TUint32 aRefreshId the refresh id to be used when sending requests that update or terminate the ongoing refresh.

IncomingRegistrationResponseL(CSIPResponseElements *, TUint32, TUint32, TUint32)

void IncomingRegistrationResponseL ( CSIPResponseElements * aResponse,
TUint32 aRequestId,
TUint32 aRefreshId,
TUint32 aRegistrationId
) [pure virtual]

A SIP response that creates a registration binding or an error response that is related to an existing refreshed registration binding has been received from the network.

Parameters

CSIPResponseElements * aResponse contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the request id to be used when matching the response to the sent request.
TUint32 aRefreshId the refresh id, if the registration is refreshed
TUint32 aRegistrationId the registration id to be used when sending requests for updating bindings or for using an outbound proxy.

IncomingRequestL(CSIPRequestElements *, TUint32)

void IncomingRequestL ( CSIPRequestElements * aRequest,
TUint32 aRequestId
) [pure virtual]

A SIP request outside a dialog has been received from the network.

Parameters

CSIPRequestElements * aRequest contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the id to be used when sending the SIP response.

IncomingResponseL(CSIPResponseElements *, TUint32)

void IncomingResponseL ( CSIPResponseElements * aResponse,
TUint32 aRequestId
) [pure virtual]

A SIP response that doesn't create a dialog, refresh, or registration binding has been received from the network.

Parameters

CSIPResponseElements * aResponse contains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestId the request id to be used when matching the response to the sent request.

InviteCompleted(TUint32)

void InviteCompleted ( TUint32 aRequestId ) [pure virtual]

The specified INVITE transaction has ended successfully.

Parameters

TUint32 aRequestId the request id

RefreshErrorOccured(TInt, TUint32)

void RefreshErrorOccured ( TInt aError,
TUint32 aRefreshId
) [pure virtual]

An asynchronous error related to an ongoing refresh has occurred in the stack. This means that the refresh has failed and it has been removed.

Parameters

TInt aError error code
TUint32 aRefreshId the refresh id

RegistrationErrorOccured(TInt, TUint32, TUint32)

void RegistrationErrorOccured ( TInt aError,
TUint32 aRegistrationId,
TUint32 aRequestId
) [pure virtual]

An asynchronous error related to an existing registration has occurred in the stack. For a refreshed registration this means that the registration has been removed from the stack. For an update of a non-refreshed registration this means that the update was not successful but the original registration is still valid. For a failing refreshed registration the request id contains the id of the original refreshed request.

Parameters

TInt aError error code
TUint32 aRegistrationId
TUint32 aRequestId the request id