RSCPClient Class Reference
class RSCPClient : public RSessionBase |
Implements the public interface towards the SCP Server Contains methods for controlling the server operation
Private Member Functions |
---|
void | FetchLimits(TInt &, TInt &) |
TInt
| GetNewCodeAndChange(TDes &, TInt, TSCPSecCode *, HBufC **) |
void | ProcessServerCommandsL(TDes8 &, CSCPParamObject **, TBool) |
TInt
| SetSecurityCodeL(RMobilePhone::TMobilePassword &, TSCPButtonConfig, TBool, TInt, TInt &, TInt &) |
void | ShowUIL(CSCPParamObject &) |
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::Close() |
| RHandleBase::DoExtendedClose() |
| RHandleBase::Duplicate(const RThread &,TOwnerType) |
| RHandleBase::FullName()const |
| RHandleBase::FullName(TDes &)const |
| RHandleBase::Handle()const |
| RHandleBase::HandleInfo(THandleInfo *) |
| RHandleBase::Name()const |
| RHandleBase::NotifyDestruction(TRequestStatus &) |
| RHandleBase::Open(const TFindHandleBase &,TOwnerType) |
| RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt) |
| RHandleBase::RHandleBase() |
| RHandleBase::RHandleBase(TInt) |
| RHandleBase::SetHandle(TInt) |
| RHandleBase::SetHandleNC(TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Send(TInt)const |
| RSessionBase::Send(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt)const |
| RSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Constructor & Destructor Documentation
Member Functions Documentation
ChangeCode(TDes &)
Used to change the system security code, uses the stored code as the current one.
Parameters
TDes & aNewCode | A descriptor containing the new code |
ChangeCodeRequest()
IMPORT_C TInt | ChangeCodeRequest | ( | ) | |
Prompt the user to change the security code.
CheckConfiguration(TInt)
IMPORT_C TInt | CheckConfiguration | ( | TInt | aMode | ) | |
Checks the server configuration and reports the status.
Parameters
TInt aMode | The check mode, initial or complete. The initial mode only checks if the configuration has already been validated. |
Connect()
The standard connection method, starts the server process, if necessary
FetchLimits(TInt &, TInt &)
void | FetchLimits | ( | TInt & | aMin, |
| TInt & | aMax |
| ) | [private] |
Fetch the limit-values for code length
GetCode(TSCPSecCode &)
A method for querying the stored ISA code
GetLockState(TBool &)
Query the current state of the system lock.
Parameters
TBool & aState | Will contain the state after a successful call. |
GetNewCodeAndChange(TDes &, TInt, TSCPSecCode *, HBufC **)
Request the new code from the user and try to change the code
GetParamValue(TInt, TDes &)
Get the value of an identified parameter stored on the server.
Parameters
TInt aParamID | The ID of the requested parameter. |
TDes & aValue | Will contain the requested value after a successful call. |
PerformCleanupL(RArray< TUid > &)
This function can be used to cleanup the parameter values stored by any application, initialize the parameters to default values. The call notifies the stakeholders (Other applications that may be using the same parameters) about the change (value being revoked to default)
ProcessServerCommandsL(TDes8 &, CSCPParamObject **, TBool)
Process the server's response-commands
QueryAdminCmd(TSCPAdminCommand)
A method for retrieving the operational status of the server in relation to the given command.
SecCodeQuery(RMobilePhone::TMobilePassword &, TSCPButtonConfig, TBool, TInt)
Request the security code from the user.
SetAutoLockPeriod(TInt)
IMPORT_C TInt | SetAutoLockPeriod | ( | TInt | aValue | ) | |
SetParamValue(TInt, TDes &)
Parameters
TInt aParamID | The ID of the requested parameter. |
TDes & aValue | |
SetParamValue(TInt, TDes &, TUint32)
Parameters
TInt aParamID | The ID of the requested parameter. |
TDes & aValue | The value to be set. |
TUint32 aCallerID | The SID of the calling application. |
SetPhoneLock(TBool)
Used to lock the phone, uses the stored code for verifying the request
Parameters
TBool aLocked | ETrue to lock the phone, EFalse to unlock. |
SetSecurityCodeL(RMobilePhone::TMobilePassword &, TSCPButtonConfig, TBool, TInt, TInt &, TInt &)
Request the security code from the user (encapsulates functionalities of SecCodeQuery()).
ShowUIL(CSCPParamObject &)
Show UI controls based on server commands
StoreCode(TSCPSecCode &)
Used to store the new code, the user has set, in SCP
Parameters
TSCPSecCode & aCode | A descriptor containing the new code |
Member Enumerations Documentation
Enum TSCPButtonConfig
Enumerators
SCP_OK | |
SCP_OK_CANCEL | |
SCP_OK_ETEL | |
SCP_OK_CANCEL_ETEL | |
Member Data Documentation
TBool
isFlagEnabled
TBool
| isFlagEnabled | [private] |
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.