CLANNifWLMServerPerAC Class Reference

class CLANNifWLMServerPerAC : public CActive

This class contains the information of a single access class and includes methods for manipulating traffic streams of that particular class.

Inherits from

Public Member Functions
~CLANNifWLMServerPerAC()
TBool IsAdmitted()
CLANNifWLMServerPerAC *NewL(TWlmAccessClass, TUint, TBool)
voidOnFrameReceive()
voidOnFrameSend()
voidResumeInactivityTimer()
voidSetTrafficMode(TWlmAcTrafficMode)
voidSetTrafficStatus(TWlmAcTrafficStatus)
voidSuspendInactivityTimer()
Protected Member Functions
voidDoCancel()
TInt RunError(TInt)
voidRunL()
Private Member Functions
CLANNifWLMServerPerAC(TWlmAccessClass, TUint, TBool)
voidConstructL()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTActiveObjectContext { ETSCreateRequest, ETSDelTimer }
Inherited Enumerations
CActive:TPriority
Private Attributes
const TWlmAccessClassiAccessClass
TActiveObjectContext iContext
TBool iIsAutomaticMgmt
TBool iIsTsCreated
TWlmAcTrafficMode iTrafficMode
TWlmAcTrafficStatus iTrafficStatus
TTimeIntervalMicroSeconds32 iTsDelOrigTime
TTimeIntervalMicroSeconds32 iTsDelRemainTime
TTime iTsDelStartTime
RTimer iTsDelTimer
TUint iTsId
const TUintiTsInactivityTime
TWlanTrafficStreamParameters iTsParams
TWlanTrafficStreamStatus iTsStatus
RWLMServer iWlmServer
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CLANNifWLMServerPerAC(TWlmAccessClass, TUint, TBool)

CLANNifWLMServerPerAC(TWlmAccessClassaAccessClass,
TUintaInactivityTime,
TBoolaIsAutomaticMgmt
)[private]

Constructor.

Parameters

TWlmAccessClass aAccessClass
TUint aInactivityTime
TBool aIsAutomaticMgmt

~CLANNifWLMServerPerAC()

~CLANNifWLMServerPerAC()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor.

DoCancel()

voidDoCancel()[protected, virtual]

From CActive. Called by the framework when Cancel() has been called.

IsAdmitted()

TBool IsAdmitted()

Whether traffic is admitted on this access class.

NewL(TWlmAccessClass, TUint, TBool)

CLANNifWLMServerPerAC *NewL(TWlmAccessClassaAccessClass,
TUintaInactivityTime,
TBoolaIsAutomaticMgmt
)[static]

Factory method for creating an instance of CLANNifWLMServerPerAC.

Parameters

TWlmAccessClass aAccessClassAccess class definition for this instance.
TUint aInactivityTimeInactivity time in microseconds after which the current traffic stream will be deleted.
TBool aIsAutomaticMgmtWhether automatic stream management is allowed.

OnFrameReceive()

voidOnFrameReceive()

Called by CLANLinkCommon when a packet has been received on this particular access class.

OnFrameSend()

voidOnFrameSend()

Called by CLANLinkCommon when a packet is sent on this particular access class.

ResumeInactivityTimer()

voidResumeInactivityTimer()

Resume a suspended inactivity timer.

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]

From CActive. Called by the framework if RunL leaves.

Parameters

TInt aErrorThe error code RunL leaved with.

RunL()

voidRunL()[protected, virtual]

From CActive. Called by the active object framework when a request has been completed.

SetTrafficMode(TWlmAcTrafficMode)

voidSetTrafficMode(TWlmAcTrafficModeaMode)

Set the traffic mode for this access class.

Parameters

TWlmAcTrafficMode aModeTraffic mode to set.

SetTrafficStatus(TWlmAcTrafficStatus)

voidSetTrafficStatus(TWlmAcTrafficStatusaStatus)

Set the traffic status for this access class.

Parameters

TWlmAcTrafficStatus aStatusTraffic status to set.

SuspendInactivityTimer()

voidSuspendInactivityTimer()

Suspend the inactivity timer.

Member Enumerations Documentation

Enum TActiveObjectContext

Definitions for possible active object states.

Enumerators

ETSCreateRequest

Traffic stream create request is ongoing.

ETSDelTimer

Traffic stream inactivity timer is running.

Member Data Documentation

const TWlmAccessClass iAccessClass

const TWlmAccessClassiAccessClass[private]

Contains the access class definition for this instance.

TActiveObjectContext iContext

TActiveObjectContext iContext[private]

Current Active Object context.

TBool iIsAutomaticMgmt

TBool iIsAutomaticMgmt[private]

Whether automatic stream management is allowed.

TBool iIsTsCreated

TBool iIsTsCreated[private]

Whether a traffic stream has been created.

TWlmAcTrafficMode iTrafficMode

TWlmAcTrafficMode iTrafficMode[private]

Current traffic mode.

TWlmAcTrafficStatus iTrafficStatus

TWlmAcTrafficStatus iTrafficStatus[private]

Current traffic status.

TTimeIntervalMicroSeconds32 iTsDelOrigTime

TTimeIntervalMicroSeconds32 iTsDelOrigTime[private]

TS Deletion timer related variables.

TTimeIntervalMicroSeconds32 iTsDelRemainTime

TTimeIntervalMicroSeconds32 iTsDelRemainTime[private]

TTime iTsDelStartTime

TTime iTsDelStartTime[private]

RTimer iTsDelTimer

RTimer iTsDelTimer[private]

TUint iTsId

TUint iTsId[private]

ID of the current traffic stream.

const TUint iTsInactivityTime

const TUintiTsInactivityTime[private]

Inactivity time in microseconds after which the current traffic stream will be deleted.

TWlanTrafficStreamParameters iTsParams

TWlanTrafficStreamParameters iTsParams[private]

Traffic stream parameters.

TWlanTrafficStreamStatus iTsStatus

TWlanTrafficStreamStatus iTsStatus[private]

Status of the traffic stream.

RWLMServer iWlmServer

RWLMServer iWlmServer[private]

Handle to client API instance of WLAN Engine.