ESock::ASockSubSessionPlatsecApiExt Class Reference

class ESock::ASockSubSessionPlatsecApiExt : public ESock::MPlatsecApiExt

Support for UPS.

Aggregate class used with CSockSubSession derived classes to allow them to provide an interface for retrieving thread/process id dynamically according to the last message.

Inherits from

Constructor & Destructor Documentation

ASockSubSessionPlatsecApiExt()

ASockSubSessionPlatsecApiExt ( ) [protected]

~ASockSubSessionPlatsecApiExt()

~ASockSubSessionPlatsecApiExt ( ) [virtual]

Member Functions Documentation

CheckPolicy(const TSecurityPolicy &)

TInt CheckPolicy ( const TSecurityPolicy & aPolicy ) const [private, virtual]

Checks the client process for a match against the policy aPolicy

Parameters

const TSecurityPolicy & aPolicy A security policy that must be matched

GetProcessAndThreadIdFromRMessage(const RMessage2 &, TProcessId &, TThreadId &)

TInt GetProcessAndThreadIdFromRMessage ( const RMessage2 & aMessage,
TProcessId & aProcessId,
TThreadId & aThreadId
) [static]

Parameters

const RMessage2 & aMessage
TProcessId & aProcessId
TThreadId & aThreadId

HasCapability(const TCapability)

TBool HasCapability ( const TCapability aCapability ) const [private, virtual]

Checks the client process for the capability aCapability

Parameters

const TCapability aCapability The capability to be checked for

SecureId(TSecureId &)

TInt SecureId ( TSecureId & aResult ) const [private, virtual]

Obtains the TSecureId of the client process

Parameters

TSecureId & aResult If the call is successful, the TSecureId.

VendorId(TVendorId &)

TInt VendorId ( TVendorId & aResult ) const [private, virtual]

Obtains the TVendorId of the client process

Parameters

TVendorId & aResult If the call is successful, the TVendorId.