CC32SubSessionIx Class Reference

class CC32SubSessionIx : public CBase

Inherits from

Constructor & Destructor Documentation

~CC32SubSessionIx()

~CC32SubSessionIx ( )

Member Functions Documentation

Add(CCommSubSession *, TSubSessionHandle &)

TInt Add ( CCommSubSession * aSubSession,
TSubSessionHandle & aHandle
)

Parameters

CCommSubSession * aSubSession
TSubSessionHandle & aHandle

At(TInt, CCommSubSession::TSubSessionType)

CCommSubSession * At ( TInt aHandle,
CCommSubSession::TSubSessionType aType
) const

At(TSubSessionHandle)

TEntry * At ( TSubSessionHandle aHandle ) const [private]

Parameters

TSubSessionHandle aHandle

ExpandArray()

TInt ExpandArray ( ) [private]

Find(CCommSubSession *, TSubSessionHandle &)

TInt Find ( CCommSubSession * aSubSession,
TSubSessionHandle & aHandle
) const

Parameters

CCommSubSession * aSubSession
TSubSessionHandle & aHandle

IndexFromHandle(TInt)

TInt IndexFromHandle ( TInt aHandle ) const [private, inline]

Parameters

TInt aHandle

InitialiseL()

void InitialiseL ( )

Lock()

void Lock ( ) const [inline]

Optional locking. When accessing any of the public methods of this class in a multithreaded environment, locking is often necessary. This lock does not allow for lock nesting.

MakeHandle(TInt, TInt, TInt)

TSubSessionHandle MakeHandle ( TInt aIndex,
TInt aMagic,
TInt aType
) const [private, inline]

Parameters

TInt aIndex
TInt aMagic
TInt aType

Remove(TSubSessionHandle)

CCommSubSession * Remove ( TSubSessionHandle aHandle )

Parameters

TSubSessionHandle aHandle

Unlock()

void Unlock ( ) const [inline]

Unlocking. Lock()

Member Type Definitions Documentation

Typedef TSubSessionHandle

typedef TInt TSubSessionHandle

Member Data Documentation

TInt iActiveCount

TInt iActiveCount [private]

TInt iFreeListHead

TInt iFreeListHead [private]

TEntry * iIx

TEntry * iIx [private]

RWorkerLock iLock

RWorkerLock iLock [private]

TInt iSize

TInt iSize [private]