class MSIPConnectionObserver |
An interface to be implemented by users of CSIPConnection . Interface allows to be able to receive requests, responses, connection state notifications and error notifications from sip stack.
Note: The client must not delete related CSIPConnection object during the execution of the interface function.
n/a
Public Member Functions | |
---|---|
void | ConnectionStateChanged ( CSIPConnection::TState ) |
void | ErrorOccured ( TInt , CSIPTransactionBase &) |
void | ErrorOccured ( TInt , CSIPClientTransaction &, CSIPRegistrationBinding &) |
void | ErrorOccured ( TInt , CSIPTransactionBase &, CSIPDialogAssocBase &) |
void | ErrorOccured ( TInt , CSIPRefresh &) |
void | ErrorOccured ( TInt , CSIPRegistrationBinding &) |
void | ErrorOccured ( TInt , CSIPDialogAssocBase &) |
void | IncomingRequest ( CSIPServerTransaction *) |
void | IncomingRequest ( CSIPServerTransaction *, CSIPDialog &) |
void | IncomingResponse ( CSIPClientTransaction &) |
void | IncomingResponse ( CSIPClientTransaction &, CSIPDialogAssocBase &) |
void | IncomingResponse ( CSIPClientTransaction &, CSIPInviteDialogAssoc *) |
void | IncomingResponse ( CSIPClientTransaction &, CSIPRegistrationBinding &) |
void | InviteCanceled ( CSIPServerTransaction &) |
void | InviteCompleted ( CSIPClientTransaction &) |
void | ConnectionStateChanged | ( | CSIPConnection::TState | aState | ) | [pure virtual] |
Connection state has changed. If connection state has changed to EInactive or EUnavailable, SIP stack has removed all stand-alone SIP refreshes, registrations and dialog associations that client requested to refresh. Client may re-issue refresh requests (stand-alone, registration or dialog association related) when connection becomes EActive again. SIP stack also terminates all pending SIP client transactions and no errors are reported back to the client about the terminated transactions nor about removed refreshes in order to avoid event flood.
CSIPConnection::TState aState | indicates the current connection state |
void | ErrorOccured | ( | TInt | aError, |
CSIPTransactionBase & | aTransaction | |||
) | [pure virtual] |
An asynchronous error has occurred in the stack related to the request indicated by the given transaction.
TInt aError | system wide or SIP error code |
CSIPTransactionBase & aTransaction | failed transaction |
void | ErrorOccured | ( | TInt | aError, |
CSIPClientTransaction & | aTransaction, | |||
CSIPRegistrationBinding & | aRegistration | |||
) | [pure virtual] |
An asynchronous error has occurred in the stack related to the request indicated by the given transaction.
TInt aError | system wide or SIP error code |
CSIPClientTransaction & aTransaction | the failed transaction |
CSIPRegistrationBinding & aRegistration | the failed registration binding |
void | ErrorOccured | ( | TInt | aError, |
CSIPTransactionBase & | aTransaction, | |||
CSIPDialogAssocBase & | aDialogAssoc | |||
) | [pure virtual] |
An asynchronous error has occured related to a request within an existing dialog.
TInt aError | system wide or SIP error code |
CSIPTransactionBase & aTransaction | the failed transaction. |
CSIPDialogAssocBase & aDialogAssoc | the failed dialog associoation. |
void | ErrorOccured | ( | TInt | aError, |
CSIPRefresh & | aSIPRefresh | |||
) | [pure virtual] |
An asynchronous error has occured related to a refresh
TInt aError | system wide or SIP error code |
CSIPRefresh & aSIPRefresh | original refresh object. |
void | ErrorOccured | ( | TInt | aError, |
CSIPRegistrationBinding & | aRegistration | |||
) | [pure virtual] |
An asynchronous error has occured related to a periodical refresh that relates to a registration.
TInt aError | system wide or SIP error code; KErrCouldNotConnect if the refresh has failed due to the suspended connection. |
CSIPRegistrationBinding & aRegistration | associated registration binding |
void | ErrorOccured | ( | TInt | aError, |
CSIPDialogAssocBase & | aDialogAssoc | |||
) | [pure virtual] |
An asynchronous error has occured related to a periodical refresh that belongs to SIP dialog association.
TInt aError | system wide or SIP error code; KErrCouldNotConnect if the refresh has failed due to the suspended connection. |
CSIPDialogAssocBase & aDialogAssoc | SIP dialog association. |
void | IncomingRequest | ( | CSIPServerTransaction * | aTransaction | ) | [pure virtual] |
A SIP request outside a dialog has been received from the network.
CSIPServerTransaction * aTransaction | SIP server transaction. The ownership is transferred. |
void | IncomingRequest | ( | CSIPServerTransaction * | aTransaction, |
CSIPDialog & | aDialog | |||
) | [pure virtual] |
A SIP request within a dialog has been received from the network. The client must resolve the actual dialog association to which this request belongs.
CSIPServerTransaction * aTransaction | SIP server transaction. The ownership is transferred. |
CSIPDialog & aDialog | the dialog that this transaction belongs to. |
void | IncomingResponse | ( | CSIPClientTransaction & | aTransaction | ) | [pure virtual] |
A SIP response received from the network.
CSIPClientTransaction & aTransaction | contains response elements. |
void | IncomingResponse | ( | CSIPClientTransaction & | aTransaction, |
CSIPDialogAssocBase & | aDialogAssoc | |||
) | [pure virtual] |
A SIP response received from the network that is within a dialog association or creates a dialog association.
CSIPClientTransaction & aTransaction | contains response elements. |
CSIPDialogAssocBase & aDialogAssoc | a dialog association. |
void | IncomingResponse | ( | CSIPClientTransaction & | aTransaction, |
CSIPInviteDialogAssoc * | aDialogAssoc | |||
) | [pure virtual] |
Multiple SIP responses have been received to the single INVITE due to the forking proxy. Note that each response creates a separate INVITE dialog association. Multiple responses can arrive until SIP stack completes UAC core INVITE transaction. If clients deletes INVITE transaction after first SIP response other possible responses will be consumed by the implementation.
CSIPClientTransaction & aTransaction | contains response elements |
CSIPInviteDialogAssoc * aDialogAssoc | INVITE dialog association; the ownership is transferred |
void | IncomingResponse | ( | CSIPClientTransaction & | aTransaction, |
CSIPRegistrationBinding & | aRegistration | |||
) | [pure virtual] |
A SIP response related a registration binding or an error response that is related to registration binding has been received from the network.
CSIPClientTransaction & aTransaction | contains response elements |
CSIPRegistrationBinding & aRegistration | registration binding this transaction belongs to |
void | InviteCanceled | ( | CSIPServerTransaction & | aTransaction | ) | [pure virtual] |
Invite was canceled with the CANCEL
CSIPServerTransaction & aTransaction | a canceled INVITE UAS transaction |
void | InviteCompleted | ( | CSIPClientTransaction & | aTransaction | ) | [pure virtual] |
SIP stack has completed UAC core INVITE transaction 64*T1 seconds after the reception of the first 2xx response. No more 2xx responses can be received to the issued single INVITE.
If the INVITE transaction does not create a dialog, or the INVITE transaction encounters an error, this event will not be sent.
CSIPClientTransaction & aTransaction | a complete UAC core INVITE transaction |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.