MSIPClientConnectionObserver Class Reference

class MSIPClientConnectionObserver

Member Functions Documentation

ConnectionStateChanged(CSIPConnection::TState)

voidConnectionStateChanged(CSIPConnection::TStateaState)[pure virtual]

Is called when the connection state changes

Parameters

CSIPConnection::TState aStateindicates the current connection state

DialogErrorOccured(TInt, TUint32, TUint32)

voidDialogErrorOccured(TIntaError,
TUint32aDialogId,
TUint32aRequestId
)[pure virtual]

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

Parameters

TInt aErrorerror code
TUint32 aDialogIdthe dialog id
TUint32 aRequestIdthe request id

DialogErrorOccured(TInt, TUint32, TUint32, TUint32)

voidDialogErrorOccured(TIntaError,
TUint32aDialogId,
TUint32aRefreshId,
TUint32aRequestId
)[pure virtual]

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

Parameters

TInt aErrorerror code
TUint32 aDialogIdthe dialog id
TUint32 aRefreshIdthe refresh id
TUint32 aRequestIdthe request id

ErrorOccured(TInt, TUint32)

voidErrorOccured(TIntaError,
TUint32aRequestId
)[pure virtual]

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

Parameters

TInt aErrorerror code
TUint32 aRequestIdthe request id

IncomingDialogRequestL(CSIPRequestElements *, TUint32, TUint32)

voidIncomingDialogRequestL(CSIPRequestElements *aRequest,
TUint32aRequestId,
TUint32aDialogId
)[pure virtual]

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

Parameters

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

IncomingDialogResponseL(CSIPResponseElements *, TUint32, TUint32)

voidIncomingDialogResponseL(CSIPResponseElements *aResponse,
TUint32aRequestId,
TUint32aDialogId
)[pure virtual]

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

Parameters

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

IncomingDialogResponseL(CSIPResponseElements *, TUint32, TUint32, TUint32)

voidIncomingDialogResponseL(CSIPResponseElements *aResponse,
TUint32aRequestId,
TUint32aRefreshId,
TUint32aDialogId
)[pure virtual]

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

Parameters

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

IncomingRefreshResponseL(CSIPResponseElements *, TUint32, TUint32)

voidIncomingRefreshResponseL(CSIPResponseElements *aResponse,
TUint32aRequestId,
TUint32aRefreshId
)[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 * aResponsecontains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestIdthe request id to be used when matching the response to the sent request.
TUint32 aRefreshIdthe refresh id to be used when sending requests that update or terminate the ongoing refresh.

IncomingRegistrationResponseL(CSIPResponseElements *, TUint32, TUint32, TUint32)

voidIncomingRegistrationResponseL(CSIPResponseElements *aResponse,
TUint32aRequestId,
TUint32aRefreshId,
TUint32aRegistrationId
)[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 * aResponsecontains local address, remote address of a sip message, as well as optional SIP message method, headers and body. The ownership is transferred.
TUint32 aRequestIdthe request id to be used when matching the response to the sent request.
TUint32 aRefreshIdthe refresh id, if the registration is refreshed
TUint32 aRegistrationIdthe registration id to be used when sending requests for updating bindings or for using an outbound proxy.

IncomingRequestL(CSIPRequestElements *, TUint32)

voidIncomingRequestL(CSIPRequestElements *aRequest,
TUint32aRequestId
)[pure virtual]

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

Parameters

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

IncomingResponseL(CSIPResponseElements *, TUint32)

voidIncomingResponseL(CSIPResponseElements *aResponse,
TUint32aRequestId
)[pure virtual]

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

Parameters

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

InviteCompleted(TUint32)

voidInviteCompleted(TUint32aRequestId)[pure virtual]

The specified INVITE transaction has ended successfully.

Parameters

TUint32 aRequestIdthe request id

RefreshErrorOccured(TInt, TUint32)

voidRefreshErrorOccured(TIntaError,
TUint32aRefreshId
)[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 aErrorerror code
TUint32 aRefreshIdthe refresh id

RegistrationErrorOccured(TInt, TUint32, TUint32)

voidRegistrationErrorOccured(TIntaError,
TUint32aRegistrationId,
TUint32aRequestId
)[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 aErrorerror code
TUint32 aRegistrationId
TUint32 aRequestIdthe request id