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 void Close ()
IMPORT_C TInt Connect ()
IMPORT_C TInt Connect ( TInt )
IMPORT_C TInt RegisterSwpMapping ( TUint , const TDesC &)
IMPORT_C TInt RequestStateTransition ( TSsmStateTransition )
IMPORT_C void RequestStateTransition ( TSsmStateTransition , TRequestStatus &)
IMPORT_C void RequestStateTransitionCancel ()
IMPORT_C TInt RequestSwpChange ( TSsmSwp )
IMPORT_C void RequestSwpChange ( TSsmSwp , TRequestStatus &)
IMPORT_C void RequestSwpChangeCancel ()
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 void Close ( )

Connect()

IMPORT_C TInt Connect ( )

Connect(TInt)

IMPORT_C TInt Connect ( TInt aAsyncMessageSlotCount )

Parameters

TInt aAsyncMessageSlotCount

DoConnect(const TDesC &, TVersion, TInt)

TInt DoConnect ( const TDesC & aServerName,
TVersion aVersion,
TInt aAsyncMessageSlots
) [protected]

Parameters

const TDesC & aServerName
TVersion aVersion
TInt aAsyncMessageSlots

RegisterSwpMapping(TUint, const TDesC &)

IMPORT_C TInt RegisterSwpMapping ( TUint aSwpKey,
const TDesC & aFilename
)

Parameters

TUint aSwpKey
const TDesC & aFilename

RequestStateTransition(TSsmStateTransition)

IMPORT_C TInt RequestStateTransition ( TSsmStateTransition aRequest )

Parameters

TSsmStateTransition aRequest

RequestStateTransition(TSsmStateTransition, TRequestStatus &)

IMPORT_C void RequestStateTransition ( TSsmStateTransition aRequest,
TRequestStatus & aStatus
)

Parameters

TSsmStateTransition aRequest
TRequestStatus & aStatus

RequestStateTransitionCancel()

IMPORT_C void RequestStateTransitionCancel ( )

RequestSwpChange(TSsmSwp)

IMPORT_C TInt RequestSwpChange ( TSsmSwp aSwp )

Parameters

TSsmSwp aSwp

RequestSwpChange(TSsmSwp, TRequestStatus &)

IMPORT_C void RequestSwpChange ( TSsmSwp aSwp,
TRequestStatus & aStatus
)

Parameters

TSsmSwp aSwp
TRequestStatus & aStatus

RequestSwpChangeCancel()

IMPORT_C void RequestSwpChangeCancel ( )

Version()

TVersion Version ( ) const [private]