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(TIntaHandle,
CCommSubSession::TSubSessionTypeaType
)const

Parameters

TInt aHandle
CCommSubSession::TSubSessionType aType

At(TSubSessionHandle)

TEntry *At(TSubSessionHandleaHandle)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(TIntaHandle)const [private, inline]

Parameters

TInt aHandle

InitialiseL()

voidInitialiseL()

Lock()

voidLock()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(TIntaIndex,
TIntaMagic,
TIntaType
)const [private, inline]

Parameters

TInt aIndex
TInt aMagic
TInt aType

Remove(TSubSessionHandle)

CCommSubSession *Remove(TSubSessionHandleaHandle)

Parameters

TSubSessionHandle aHandle

Unlock()

voidUnlock()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]