ESock::AIPCClientInfo Class Reference

class ESock::AIPCClientInfo

Member Functions Documentation

ClientSid(TSubSessionUniqueId, TSecureId &)

IMPORT_C TInt ClientSid ( TSubSessionUniqueId aSubSessionUniqueId,
TSecureId & aSid
) const

Retrieves the secure id of the owner of the subsession

Parameters

TSubSessionUniqueId aSubSessionUniqueId The id of the subsession to query
TSecureId & aSid

ClientUidType(TSubSessionUniqueId, TUidType &)

IMPORT_C TInt ClientUidType ( TSubSessionUniqueId aSubSessionUniqueId,
TUidType & aUidType
) const

Parameters

TSubSessionUniqueId aSubSessionUniqueId The id of the subsession to query
TUidType & aUidType The uid type

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

TInt GetSubsessionOwnerInfo ( TSubSessionUniqueId aSubSessionUniqueId,
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 aSubSessionUniqueId The subsession id of to obtain the client process information from
TProcessId & aProcessId
TUidType & aUidType
TThreadId & aThreadId

OpenClientProcess(TSubSessionUniqueId, RProcess &)

IMPORT_C TInt OpenClientProcess ( TSubSessionUniqueId aSubSessionUniqueId,
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 aSubSessionUniqueId The subsession id of to obtain the client process information from
RProcess & aProcess Upon returning from a successful call aProcess is an opened RProcess.