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 & aPolicyA 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 TCapabilityaCapability)const [private, virtual]

Checks the client process for the capability aCapability

Parameters

const TCapability aCapabilityThe capability to be checked for

SecureId(TSecureId &)

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

Obtains the TSecureId of the client process

Parameters

TSecureId & aResultIf the call is successful, the TSecureId.

VendorId(TVendorId &)

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

Obtains the TVendorId of the client process

Parameters

TVendorId & aResultIf the call is successful, the TVendorId.