class CSUPLProtocolManagerBase : public CBase |
Class: CSUPLProtocolManagerBase
Description: Custom ECOM interface definition. This interface is used by clients to find specific instance and implementation of protocol handler Plugin.
Private Member Functions | |
---|---|
CSUPLProtocolManagerBase (const CSUPLProtocolManagerBase &) | |
TInt | GetVersionL () |
CSUPLProtocolManagerBase & | operator= (const CSUPLProtocolManagerBase &) |
Public Member Enumerations | |
---|---|
enum | TSuplReqType { ETerminal = 0, ENetwork } |
Private Attributes | |
---|---|
TUid | iDtor_ID_Key |
TUid | iImplementationUid |
CSUPLProtocolManagerBase | ( | const CSUPLProtocolManagerBase & | ) | [private] |
By default, prohibit copy constructor
const CSUPLProtocolManagerBase & |
IMPORT_C | ~CSUPLProtocolManagerBase | ( | ) |
Function: ~CSUPLProtocolManagerBase
: Wraps ECom object destruction. Notifies the ECOM framework that specific instance is being destroyed.
void | CancelDeInitialize | ( | ) | [pure virtual] |
Function: CancelDeInitialize,
: Does the cancellation of asynchronous de-initilization.
: None
: None
void | CancelInitialize | ( | ) | [pure virtual] |
Function: CancelInitialize,
: Does the cancellation of asynchronous initilization.
: None
: None
void | CancelRunSession | ( | CSuplSessionBase * | aSuplSession | ) | [pure virtual] |
Function: CancelRunSession
: Cancels the Run Session Request
: Session Object
: None
CSuplSessionBase * aSuplSession |
void | CancelSuplTriggerSession | ( | CSuplSessionBase * | aSuplSession | ) | [pure virtual] |
Function: CancelSuplTriggerSession
: Cancels an in-progress Terminal Initiated Periodic Trigger Session Location Request
: Session Object
: None
CSuplSessionBase * aSuplSession |
IMPORT_C void | ConstructL | ( | const TUid & | aUid | ) | [virtual] |
Function: SetImplementationUid
: Sets Uid of implementation
: UID of implementation.
: None
const TUid & aUid |
CSuplSessionBase * | CreateNewSessionL | ( | TSuplReqType | aRequestType, |
TInt | aIpcSessionId, | |||
RSuplTerminalSubSession::TSuplServiceType | aSuplService | |||
) | [pure virtual] |
Function: CreateNewSession
: Creates new SuplSession instance
: None
: Instance of CSuplSessionBase.
TSuplReqType aRequestType | |
TInt aIpcSessionId | |
RSuplTerminalSubSession::TSuplServiceType aSuplService |
void | DeInitialize | ( | TRequestStatus & | aDeInitRequestStatus | ) | [pure virtual] |
Function: DeInitialize,
: Does the de-initilization.
: aDeInitRequestStatus,for asynchronous de-initilization of protocol manager
: None
TRequestStatus & aDeInitRequestStatus |
TInt | DestroySession | ( | CSuplSessionBase * | aSuplSession | ) | [pure virtual] |
Function: DestroySession
: Destoys SuplSession instance
: None
: TInt, if session is invalid, then returns KErrArgument
CSuplSessionBase * aSuplSession |
TInt | GetSUPLMessageVersionL | ( | TInt & | aMajorVersion, |
const TDesC8 & | aReceivedMessage | |||
) | [virtual] |
Function: GetSUPLMessageVersionL
: Cancels listening for the trigger fired event
: aMajorVersion,return parameter which will hold version after decoding of message.
: aReceivedMessage,message to be used to get version number.
: returns KErrNone if recceived message gets decoded successfuly otherwise KErrGeneral.
TInt | GetVersionL | ( | ) | const [private] |
Function: GetVersionL
: Gives version of implementation
: None
: TInt , containing version of implementation
void | HandlePacket | ( | const TDesC8 & | aPacket, |
TUint | aPortNum | |||
) | [pure virtual] |
Function: HandleSuplPackets
: Process Supl message which are comming from SLP
: aPacket, message packet
: None
void | HandlePacketError | ( | TInt | aError | ) | [pure virtual] |
Function: HandlePacketError
: Handles error if any while reading from communication manager
: aError, error code occured while reading from communication manager
: None
TInt aError |
void | HandleSuplMessageL | ( | CSuplSessionBase *const | aSuplSession, |
TRequestStatus & | aStatus, | |||
HBufC8 * | aMessage | |||
) | [pure virtual] |
Function: HandleSuplMessageL,
: Handles packet which come from SLP in NET initiated case
: aSuplSession , session object on which processing will start : aStatus, On return, the status of the request
: None
CSuplSessionBase *const aSuplSession | |
TRequestStatus & aStatus | |
HBufC8 * aMessage |
IMPORT_C TUid | ImplementationUid | ( | ) | const |
Function: ImplementationUid,
: Gives implementation UID
: None.
void | InitializeL | ( | CSuplCommunicationManager * | aCommManager, |
TRequestStatus & | aInitilizationRequestStatus | |||
) | [pure virtual] |
Function: InitializeL,
: Does the asynchonous initilization.
: aCommManager,Communication Manager : aInitilizationRequestStatus,for asynchronous initilization of protocol manager
: None
CSuplCommunicationManager * aCommManager | |
TRequestStatus & aInitilizationRequestStatus |
IMPORT_C CSUPLProtocolManagerBase * | NewL | ( | const TDesC8 & | aOperationName | ) | [static] |
Function: NewL, Two Phase Construction
: Wraps ECom object instantitation. Will search for interface implementation, which matches to given aOperationName.
: aOperationName, name of requested implementation.
const TDesC8 & aOperationName |
IMPORT_C CSUPLProtocolManagerBase * | NewL | ( | const TUid & | aImplementationUid | ) | [static] |
Function: NewL, Two Phase Construction
: Wraps ECom object instantitation. Will search for interface implementation, which matches to given UID.
: aImplementationUid, UID of requested implementation.
const TUid & aImplementationUid |
void | NotifyTriggerFiredL | ( | CSuplSessionBase *const | aSuplSession, |
TRequestStatus & | aStatus, | |||
TSuplTriggerFireInfo & | aFireInfo | |||
) | [pure virtual] |
Function: NotifyTriggerFired
: Starts listening for the trigger fired event
: None
: None
CSuplSessionBase *const aSuplSession | |
TRequestStatus & aStatus | |
TSuplTriggerFireInfo & aFireInfo |
void | RunSessionL | ( | CSuplSessionBase *const | aSuplSession, |
TRequestStatus & | aStatus, | |||
const TDesC & | aHslpAddress, | |||
TBool | aFallBack, | |||
TBool | aFirstReq, | |||
TInt | aAllowedCapabilities, | |||
TInt | aRequestID = 0 | |||
) | [pure virtual] |
Function: RunSessionL,
: Starts processing on session
: aSuplSession , session object on which processing will start : aStatus, On return, the status of the request : aAllowedCapabilities , Allowed capabilities of SET : aRequestID , Request ID of Session
: None
void | RunSessionL | ( | CSuplSessionBase *const | aSuplSession, |
TRequestStatus & | aStatus, | |||
const TDesC & | aHslpAddress, | |||
TBool | aFallBack, | |||
TBool | aFirstReq, | |||
TInt | aAllowedCapabilities, | |||
TSuplTerminalQop & | aQop, | |||
TInt | aRequestID = 0 | |||
) | [pure virtual] |
Function: RunSessionL,
: Starts processing on session
: aSuplSession , session object on which processing will start : aStatus, On return, the status of the request : aAllowedCapabilities , Allowed capabilities of SET : aQop , specifies the quality of position : aRequestID , Request ID of Session
: None
CSuplSessionBase *const aSuplSession | |
TRequestStatus & aStatus | |
const TDesC & aHslpAddress | |
TBool aFallBack | |
TBool aFirstReq | |
TInt aAllowedCapabilities | |
TSuplTerminalQop & aQop | |
TInt aRequestID = 0 |
void | RunSuplTriggerSessionL | ( | CSuplSessionBase *const | aSuplSession, |
TRequestStatus & | aStatus, | |||
TSuplTerminalPeriodicTrigger & | aPTrigger, | |||
const TDesC & | aHslpAddress, | |||
TBool | aFallBack, | |||
TInt | aAllowedCapabilities, | |||
TInt | aRequestID = 0 | |||
) | [pure virtual] |
Function: RunSuplTriggerSessionL,
: Starts processing on session
: aSuplSession, session object on which processing will start : aStatus, On return, the status of the request : aPTrigger, specifies the periodic trigger session : aHslpAddress, specifies HSLP Server Address to be used to get position from it : aFallBack, enables/diables Multiple-SLP Fallback mechanism : aAllowedCapabilities, Allowed capabilities of SET : aRequestID, Request ID of Session
: None
CSuplSessionBase *const aSuplSession | |
TRequestStatus & aStatus | |
TSuplTerminalPeriodicTrigger & aPTrigger | |
const TDesC & aHslpAddress | |
TBool aFallBack | |
TInt aAllowedCapabilities | |
TInt aRequestID = 0 |
IMPORT_C TInt | Version | ( | ) | const |
Function: Version
: Gives version of implementation
: None.
CSUPLProtocolManagerBase & | operator= | ( | const CSUPLProtocolManagerBase & | ) | [private] |
By default, Prohibit assigment operator
const CSUPLProtocolManagerBase & |
For diffentiating request between Terminal & NET initiation
ETerminal = 0 | |
ENetwork |
TUid | iDtor_ID_Key | [private] |
Function: SetImplementationUid
: Sets Uid of implementation
: UID of implementation.
: None iDtor_ID_Key Instance identifier key. When instance of an implementation is created by ECOM framework, the framework will assign UID for it. The UID is used in destructor to notify framework that this instance is being destroyed and resources can be released.
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.