RSsmStateManager Class Reference

class RSsmStateManager : public RSessionBase

RSsmaStateManager is provided as an API used to request changes to the system state or to request changes to the value of a system-wide property. The policy plug-in associated with the current system state or the requested system wide property implements the required security policy in MSsmStatePolicy::TransitionAllowed() or MSsmSwpPolicy::TransitionAllowed().

MSsmStatePolicy MSsmSwpPolicy

Inherits from

Public Member Functions
IMPORT_C voidClose()
IMPORT_C TIntConnect()
IMPORT_C TIntConnect(TInt)
IMPORT_C TIntRegisterSwpMapping(TUint, const TDesC &)
IMPORT_C TIntRequestStateTransition(TSsmStateTransition)
IMPORT_C voidRequestStateTransition(TSsmStateTransition, TRequestStatus &)
IMPORT_C voidRequestStateTransitionCancel()
IMPORT_C TIntRequestSwpChange(TSsmSwp)
IMPORT_C voidRequestSwpChange(TSsmSwp, TRequestStatus &)
IMPORT_C voidRequestSwpChangeCancel()
Protected Member Functions
TInt DoConnect(const TDesC &, TVersion, TInt)
Private Member Functions
TVersion Version()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
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()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

Close()

IMPORT_C voidClose()

Connect()

IMPORT_C TIntConnect()

Connect(TInt)

IMPORT_C TIntConnect(TIntaAsyncMessageSlotCount)

Parameters

TInt aAsyncMessageSlotCount

DoConnect(const TDesC &, TVersion, TInt)

TInt DoConnect(const TDesC &aServerName,
TVersionaVersion,
TIntaAsyncMessageSlots
)[protected]

Parameters

const TDesC & aServerName
TVersion aVersion
TInt aAsyncMessageSlots

RegisterSwpMapping(TUint, const TDesC &)

IMPORT_C TIntRegisterSwpMapping(TUintaSwpKey,
const TDesC &aFilename
)

Parameters

TUint aSwpKey
const TDesC & aFilename

RequestStateTransition(TSsmStateTransition)

IMPORT_C TIntRequestStateTransition(TSsmStateTransitionaRequest)

Parameters

TSsmStateTransition aRequest

RequestStateTransition(TSsmStateTransition, TRequestStatus &)

IMPORT_C voidRequestStateTransition(TSsmStateTransitionaRequest,
TRequestStatus &aStatus
)

Parameters

TSsmStateTransition aRequest
TRequestStatus & aStatus

RequestStateTransitionCancel()

IMPORT_C voidRequestStateTransitionCancel()

RequestSwpChange(TSsmSwp)

IMPORT_C TIntRequestSwpChange(TSsmSwpaSwp)

Parameters

TSsmSwp aSwp

RequestSwpChange(TSsmSwp, TRequestStatus &)

IMPORT_C voidRequestSwpChange(TSsmSwpaSwp,
TRequestStatus &aStatus
)

Parameters

TSsmSwp aSwp
TRequestStatus & aStatus

RequestSwpChangeCancel()

IMPORT_C voidRequestSwpChangeCancel()

Version()

TVersion Version()const [private]