ESock::AIPCClientInfo Class Reference

class ESock::AIPCClientInfo

Member Functions Documentation

ClientSid(TSubSessionUniqueId, TSecureId &)

IMPORT_C TIntClientSid(TSubSessionUniqueIdaSubSessionUniqueId,
TSecureId &aSid
)const

Retrieves the secure id of the owner of the subsession

Parameters

TSubSessionUniqueId aSubSessionUniqueIdThe id of the subsession to query
TSecureId & aSid

ClientUidType(TSubSessionUniqueId, TUidType &)

IMPORT_C TIntClientUidType(TSubSessionUniqueIdaSubSessionUniqueId,
TUidType &aUidType
)const

Parameters

TSubSessionUniqueId aSubSessionUniqueIdThe id of the subsession to query
TUidType & aUidTypeThe uid type

GetSubsessionOwnerInfo(TSubSessionUniqueId, TProcessId &, TUidType &, TThreadId &)

TInt GetSubsessionOwnerInfo(TSubSessionUniqueIdaSubSessionUniqueId,
TProcessId &aProcessId,
TUidType &aUidType,
TThreadId &aThreadId
)const [protected]
Retrieves information about the owner of the subsession
Note:

The thread id. returned is that which opened the RSocketServ, not the RSocket.

Parameters

TSubSessionUniqueId aSubSessionUniqueIdThe subsession id of to obtain the client process information from
TProcessId & aProcessId
TUidType & aUidType
TThreadId & aThreadId

OpenClientProcess(TSubSessionUniqueId, RProcess &)

IMPORT_C TIntOpenClientProcess(TSubSessionUniqueIdaSubSessionUniqueId,
RProcess &aProcess
)const [protected]

Opens the RProcess of the owning client process of the subsession. The caller is responsible for calling the RProcess.Close() method.

Parameters

TSubSessionUniqueId aSubSessionUniqueIdThe subsession id of to obtain the client process information from
RProcess & aProcessUpon returning from a successful call aProcess is an opened RProcess.