CMceSipConnection Class Reference
class CMceSipConnection : public CBase |
Public Member Functions |
---|
| ~CMceSipConnection() |
TUint32
| AccessPointId() |
void | AttachL(CMceCsSubSession &) |
CSIPConnection & | Connection() |
void | ConnectionStateChanged(CSIPConnection::TState) |
TInt
| Detach(CMceCsSubSession &) |
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 &) |
TInetAddr
| IPAddressL(TUint32) |
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 &) |
TBool
| IsProfileUsedInSession(CSIPProfile &) |
TInetAddr
| LocalIPAddressL(TInetAddr *) |
CMceSipConnection * | NewLC(CMceSipManager &, CSIPProfile &, CSIPProfileRegistry &) |
CMceSipConnection * | NewLC(CMceSipManager &, TUint32) |
CSIPConnection::TState
| State() |
void | UpdateConnectionL(TUint) |
Constructor & Destructor Documentation
CMceSipConnection(CMceSipManager &, CSIPProfile &)
CMceSipConnection(CMceSipManager &, TUint32)
Member Functions Documentation
AttachL(CMceCsSubSession &)
Attach session to this connection Leaves, if SIP connection is not active or session is allready attached
ConnectionStateChanged(CSIPConnection::TState)
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.
ConstructL(CSIPProfile &, CSIPProfileRegistry &)
ConstructL()
void | ConstructL | ( | ) | [private] |
Detach(CMceCsSubSession &)
De-Attach session to this connection
ErrorOccured(TInt, CSIPTransactionBase &)
An asynchronous error has occurred in the stack related to the request indicated by the given transaction.
ErrorOccured(TInt, CSIPClientTransaction &, CSIPRegistrationBinding &)
An asynchronous error has occurred in the stack related to the request indicated by the given transaction.
Parameters
TInt aError | system wide or SIP error code |
CSIPClientTransaction & aTransaction | the failed transaction |
CSIPRegistrationBinding & aRegistration | the failed registration binding |
ErrorOccured(TInt, CSIPTransactionBase &, CSIPDialogAssocBase &)
An asynchronous error has occured related to a request within an existing dialog.
ErrorOccured(TInt, CSIPRefresh &)
An asynchronous error has occured related to a refresh
Parameters
TInt aError | system wide or SIP error code |
CSIPRefresh & aSIPRefresh | original refresh object. |
ErrorOccured(TInt, CSIPRegistrationBinding &)
void | ErrorOccured | ( | TInt | aError, |
| CSIPRegistrationBinding & | aRegistration |
| ) | |
An asynchronous error has occured related to a periodical refresh that relates to a registration.
Parameters
TInt aError | system wide or SIP error code; KErrCouldNotConnect if the refresh has failed due to the suspended connection. |
CSIPRegistrationBinding & aRegistration | associated registration binding |
ErrorOccured(TInt, CSIPDialogAssocBase &)
An asynchronous error has occured related to a periodical refresh that belongs to SIP dialog association.
Parameters
TInt aError | system wide or SIP error code; KErrCouldNotConnect if the refresh has failed due to the suspended connection. |
CSIPDialogAssocBase & aDialogAssoc | SIP dialog association. |
FillWithMatchingAddrFamily(TInetAddr &, const TInetAddr *)
IncomingRequest(CSIPServerTransaction *)
A SIP request outside a dialog has been received from the network.
- Pre-condition
- aTransaction != 0
IncomingRequest(CSIPServerTransaction *, CSIPDialog &)
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.
- Pre-condition
- aTransaction != 0
IncomingResponse(CSIPClientTransaction &)
A SIP response received from the network.
IncomingResponse(CSIPClientTransaction &, CSIPDialogAssocBase &)
A SIP response received from the network that is within a dialog association or creates a dialog association.
IncomingResponse(CSIPClientTransaction &, CSIPInviteDialogAssoc *)
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.
IncomingResponse(CSIPClientTransaction &, CSIPRegistrationBinding &)
A SIP response related a registration binding or an error response that is related to registration binding has been received from the network.
Parameters
CSIPClientTransaction & aTransaction | contains response elements |
CSIPRegistrationBinding & aRegistration | registration binding this transaction belongs to |
InviteCanceled(CSIPServerTransaction &)
Invite was canceled with the CANCEL
InviteCompleted(CSIPClientTransaction &)
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.
IsProfileUsedInSession(CSIPProfile &)
LocalIPAddressL(TInetAddr *)
Gets local IP address of the connection
NewLC(CMceSipManager &, CSIPProfile &, CSIPProfileRegistry &)
NewLC(CMceSipManager &, TUint32)
Reject(CSIPInviteDialogAssoc *)
State()
State of connection
of connection
UpdateConnectionL(TUint)
void | UpdateConnectionL | ( | TUint | aSignallingTypeOfService | ) | |
Sets signalling type of service for connection if profile is not used.
Parameters
TUint aSignallingTypeOfService | |
Member Data Documentation
CSIPConnection * iClientConnection
TUint
iCurrentSignallingTypeOfService
TUint
| iCurrentSignallingTypeOfService | [private] |
CMceLocalAddrResolver * iLocalAddrResolver
CMceSipManager & iSessionManager
RPointerArray< CMceCsSubSession > iSessions
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.