CXIMPHost Class Reference
class CXIMPHost : public CXIMPApiObjBase |
Presence connection host.
ximpprocessor.lib
- Since
- S60 v3.2
Public Member Functions |
---|
void | ActivateEventL(CXIMPApiEventBase &, MXIMPPscContext *) |
void | ActivateEventL(CXIMPApiEventBase &, CXIMPPscContext *) |
void | AddEventL(CXIMPApiEventBase &, MXIMPPscContext *) |
void | AddEventL(CXIMPApiEventBase &, CXIMPPscContext *) |
void | AddNewOperationL(CXIMPOperationBase &) |
TXIMPRequestId
| AddNewOperationL(CXIMPOperationBase *) |
TXIMPRequestId
| AddNewOperationL(TInt, MXIMPBase *, MXIMPBase *) |
TXIMPRequestId
| AddNewOperationL(TInt, CXIMPRestrictedObjectCollectionImp *) |
void | Close() |
void | FakeCompleteRequest(TXIMPRequestId, TInt) |
void | ForcedTeardownL() |
MXIMPProtocolConnection & | GetConnection() |
TAny * | GetProtocolHost(TInt) |
void | HandleAdaptationRequestCompleted(TXIMPRequestId, TInt) |
TXIMPRequestId
| HandleConnectionTerminated(MXIMPStatus *) |
void | HandleInternalRequestCompleted(TXIMPRequestId, TInt) |
void | HandleRequestCompleted(TXIMPRequestId, TInt) |
void | HandleRequestCompleted(TXIMPRequestId, MXIMPStatus *) |
void | HandleRequestCompleted(TXIMPRequestId, MXIMPStatus *, MXIMPBase *) |
void | HandleSessionMgmtRequestCompleted(TXIMPRequestId, TInt) |
IMPORT_C CXIMPHost * | NewLC(MXIMPProtocolConnection &, TInt32) |
MXIMPObjectFactory & | ObjectFactory() |
void | Open() |
CProtocolPresenceDataHostImp & | PresenceDataAccess() |
MProtocolPresenceDataHost & | ProtocolPresenceDataHost() |
TInt32
| ProtocolUID() |
void | RegisterObserverL(MXIMPProtocolConnectionHostObserver &, const TArray< TInt32 > *) |
void | RegisterSessionL(CXIMPPscContext *) |
void | SetProtocolHosts() |
void | StartCleanerTimer() |
void | UnregisterConnectionHostObserver(MXIMPProtocolConnectionHostObserver &) |
void | UnregisterSession(CXIMPPscContext *) |
Constructor & Destructor Documentation
CXIMPHost(MXIMPProtocolConnection &, TInt32)
~CXIMPHost()
~CXIMPHost | ( | ) | [protected, virtual] |
Reference counted. Use Close to remove a reference, and Open to open it. Can't be CObject-derived, since already derives from another C-class.
Member Functions Documentation
ActivateEventL(CXIMPApiEventBase &, MXIMPPscContext *)
ActivateEventL(CXIMPApiEventBase &, CXIMPPscContext *)
ActivateProcessing()
void | ActivateProcessing | ( | ) | [private] |
Activate next operation for processing and start processing.
AddEventL(CXIMPApiEventBase &, MXIMPPscContext *)
AddEventL(CXIMPApiEventBase &, CXIMPPscContext *)
AddNewOperationL(CXIMPOperationBase &)
AddNewOperationL(CXIMPOperationBase *)
AddNewOperationL(TInt, MXIMPBase *, MXIMPBase *)
AddNewOperationL(TInt, CXIMPRestrictedObjectCollectionImp *)
AddNewOperationL(NXIMPOps::TXIMPOpTypes)
CleanerCallback(TAny *)
TInt
| CleanerCallback | ( | TAny * | aMyself | ) | [private, static] |
Close()
Remove a reference to this object. Once all references are removed, the class destroys itself.
CompleteAdaptationRequestCallback(TAny *)
TInt
| CompleteAdaptationRequestCallback | ( | TAny * | aInstance | ) | [private, static] |
CompleteInternalRequestCallback(TAny *)
TInt
| CompleteInternalRequestCallback | ( | TAny * | aInstance | ) | [private, static] |
CompleteRequest(TXIMPRequestId)
Helper for completing the request, to avoid cyclical call chain from StartProcessingL to HandleRequestCompleted and back. HandleRequestCompleted
CompleteRequestCallback(TAny *)
TInt
| CompleteRequestCallback | ( | TAny * | aInstance | ) | [private, static] |
Callback method for request complete.
CompleteSessionMgmtRequestCallback(TAny *)
TInt
| CompleteSessionMgmtRequestCallback | ( | TAny * | aInstance | ) | [private, static] |
ConstructL()
void | ConstructL | ( | ) | [protected] |
DoCleanerCallback()
void | DoCleanerCallback | ( | ) | [private] |
Actual callback called from CleanerCallback.
DoCleanerCallbackL()
void | DoCleanerCallbackL | ( | ) | [private] |
Leaving version of cleaner timer callback.
DoCompleteAdaptationRequestCallback()
void | DoCompleteAdaptationRequestCallback | ( | ) | [private] |
DoCompleteInternalRequestCallback()
void | DoCompleteInternalRequestCallback | ( | ) | [private] |
DoCompleteRequestCallback()
void | DoCompleteRequestCallback | ( | ) | [private] |
Leaving version of Callback method for request complete.
DoCompleteSessionMgmtRequestCallback()
void | DoCompleteSessionMgmtRequestCallback | ( | ) | [private] |
DoStartProcessCallback()
void | DoStartProcessCallback | ( | ) | [private] |
Leaving version of Callback method for process starting.
FakeCompleteRequest(TXIMPRequestId, TInt)
HandleAdaptationRequestCompleted(TXIMPRequestId, TInt)
HandleConnectionTerminated(MXIMPStatus *)
HandleInternalRequestCompleted(TXIMPRequestId, TInt)
HandleRequestCompleted(TXIMPRequestId, TInt)
HandleRequestCompleted(TXIMPRequestId, MXIMPStatus *)
HandleRequestCompleted(TXIMPRequestId, MXIMPStatus *, MXIMPBase *)
HandleSessionMgmtRequestCompleted(TXIMPRequestId, TInt)
LoadDataHostArrayL()
void | LoadDataHostArrayL | ( | ) | [private] |
This is to load all the protocol hosts
NewLC(MXIMPProtocolConnection &, TInt32)
Open()
Mark a reference to this object.
OperationForRequestId(TXIMPRequestId)
This panics if active operation is not found for requestid.
ProtocolPresenceDataHost()
RegisterObserverL(MXIMPProtocolConnectionHostObserver &, const TArray< TInt32 > *)
RegisterSessionL(CXIMPPscContext *)
StartProcessCallback(TAny *)
TInt
| StartProcessCallback | ( | TAny * | aInstance | ) | [private, static] |
Callback method for process starting.
StartProcessing()
void | StartProcessing | ( | ) | [private] |
Delete old operation and try to launch processing.
UnregisterConnectionHostObserver(MXIMPProtocolConnectionHostObserver &)
UnregisterSession(CXIMPPscContext *)
Member Enumerations Documentation
Enum anonymous
Active object for async calls.
Enumerators
ECompleteRequestCallback = 0 | |
ECompleteAdaptationRequestCallback | |
ECompleteSessionMgmtRequestCallback | |
ECompleteInternalRequestCallback | |
EStartProcessCallback | |
Member Data Documentation
TInt
iAdaptationOperationIndex
TInt
| iAdaptationOperationIndex | [private] |
CXIMPProtocolRequestCompleteEventImp * iAdaptationReqCompleteEvent
CXIMPProtocolRequestCompleteEventImp * | iAdaptationReqCompleteEvent | [private] |
Adaptation request complete event.
RPointerArray< CAsyncCallBack > iCallBack
CPeriodic * iCleanerTimer
Timer for clean operation creation.
MXIMPProtocolConnection & iConnection
RPointerArray< MXIMPProtocolConnectionHostObserver > iConnectionHostObservers
Observers for adaptation requests.
CXIMPOperationBase * iCurrentOperation
CArrayFixFlat< MProtocolDataHost * > * iDataHostArray
CXIMPEventManager * iEventManager
TBool
iForcedTearDown
TBool
| iForcedTearDown | [private] |
TInt
iHostOriginatedOpIndex
TInt
| iHostOriginatedOpIndex | [private] |
Operation index for host-originated operations (currently only reconnect operation)
CXIMPObjectFactoryImp * iObjFactory
RXIMPObjOwningPtrArray< CXIMPOperationBase > iOperations
Container for the operations. Owns the operations. Own.
CProtocolPresenceDataHostImp * iPresenceDataHost
TBool
iProcessing
TBool
| iProcessing | [private] |
TInt32
iProtocolUid
Uid for protocol to use for request id builder
TInt
iReferences
TInt
| iReferences | [private] |
RPointerArray< CXIMPPscContext > iRegSessions
Container for session datas that are registered to this host. Shared ownership. Cleanup for items must be done with close method. Not delete.
TXIMPRequestIdBuilder
iReqIdBuilder
Builder for TXIMPRequestIds. Owned.
TBool
iRunFromContextActivated
TBool
| iRunFromContextActivated | [private] |
NXIMPHost::THostStates
iState
Internal state of the host
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.