class CImConnect : public CActive |
Public Member Functions | |
---|---|
~CImConnect() | |
IMPORT_C RConnection & | GetConnection() |
IMPORT_C TInt | GetIAPBearer(TUint32 &) |
IMPORT_C TInt | GetIAPValue(TUint32 &) |
IMPORT_C TInt | GetLastSocketActivityTimeout(TUint32 &) |
IMPORT_C TInt | GetRConnectionName(TName &) |
CImConnect * | NewL(const CImIAPPreferences &, CImTextServerSession &) |
IMPORT_C CImConnect * | NewL(const CImIAPPreferences &, RSocketServ &) |
IMPORT_C TInt | Progress(TNifProgress &) |
void | SecondaryStartL(CImTextServerSession *) |
IMPORT_C void | StartL(TRequestStatus &) |
Protected Member Functions | |
---|---|
void | DoCancel() |
TInt | RunError(TInt) |
void | RunL() |
Private Member Functions | |
---|---|
CImConnect(const CImIAPPreferences &, CImTextServerSession *, RSocketServ *) | |
void | CheckAndConnectL() |
void | ConnectL() |
void | ConnectWithIAPListL() |
void | ConnectWithSNAP() |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Private Attributes | |
---|---|
TInt | iAttempt |
RConnection | iConn |
const CImIAPPreferences & | iIAPPreferences |
CStoreableOverrideSettings * | iOverrides |
TCommDbMultiConnPref | iPrefs |
TRequestStatus * | iReportStatus |
RSocketServ * | iSocketServerHandle |
CImTextServerSession * | iTextSession |
Inherited Attributes | |
---|---|
CActive::iStatus |
CImConnect | ( | const CImIAPPreferences & | aIAPPreferences, |
CImTextServerSession * | aTextSession, | ||
RSocketServ * | aSocketServerHandle | ||
) | [private] |
const CImIAPPreferences & aIAPPreferences | |
CImTextServerSession * aTextSession | |
RSocketServ * aSocketServerHandle |
void | DoCancel | ( | ) | [protected, virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel().
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel().
IMPORT_C RConnection & | GetConnection | ( | ) |
IMPORT_C TInt | GetIAPBearer | ( | TUint32 & | aBearer | ) |
TUint32 & aBearer | is a return argument containing the bearer if it exists |
IMPORT_C TInt | GetIAPValue | ( | TUint32 & | aIap | ) |
TUint32 & aIap |
IMPORT_C TInt | GetLastSocketActivityTimeout | ( | TUint32 & | aTimeout | ) |
TUint32 & aTimeout | is a return argument containing the timeout if it was found |
IMPORT_C TInt | GetRConnectionName | ( | TName & | aName | ) |
TName & aName |
CImConnect * | NewL | ( | const CImIAPPreferences & | aIAPPreferences, |
CImTextServerSession & | aTextSession | |||
) | [static] |
const CImIAPPreferences & aIAPPreferences | |
CImTextServerSession & aTextSession |
IMPORT_C CImConnect * | NewL | ( | const CImIAPPreferences & | aIAPPreferences, |
RSocketServ & | aSocketServerHandle | |||
) | [static] |
const CImIAPPreferences & aIAPPreferences | |
RSocketServ & aSocketServerHandle |
IMPORT_C TInt | Progress | ( | TNifProgress & | aProgress | ) |
TNifProgress & aProgress |
void | RunL | ( | ) | [protected, virtual] |
Handles an active object's request completion event.
A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.
The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.
Before calling this active object's RunL() function, the active scheduler has:
1. decided that this is the highest priority active object with a completed request
2. marked this active object's request as complete (i.e. the request is no longer outstanding)
RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.
Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.
CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD
void | SecondaryStartL | ( | CImTextServerSession * | aPrimaryTextServerSession | ) |
CImTextServerSession * aPrimaryTextServerSession | is set on secondary session |
IMPORT_C void | StartL | ( | TRequestStatus & | aStatus | ) |
TRequestStatus & aStatus |
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.