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 )
void OnFrameReceive ()
void OnFrameSend ()
void ResumeInactivityTimer ()
void SetTrafficMode ( TWlmAcTrafficMode )
void SetTrafficStatus ( TWlmAcTrafficStatus )
void SuspendInactivityTimer ()
Protected Member Functions
void DoCancel ()
TInt RunError ( TInt )
void RunL ()
Private Member Functions
CLANNifWLMServerPerAC ( TWlmAccessClass , TUint , TBool )
void ConstructL ()
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
enum TActiveObjectContext { ETSCreateRequest , ETSDelTimer }
Inherited Enumerations
CActive:TPriority
Private Attributes
const TWlmAccessClass iAccessClass
TActiveObjectContext iContext
TBool iIsAutomaticMgmt
TBool iIsTsCreated
TWlmAcTrafficMode iTrafficMode
TWlmAcTrafficStatus iTrafficStatus
TTimeIntervalMicroSeconds32 iTsDelOrigTime
TTimeIntervalMicroSeconds32 iTsDelRemainTime
TTime iTsDelStartTime
RTimer iTsDelTimer
TUint iTsId
const TUint iTsInactivityTime
TWlanTrafficStreamParameters iTsParams
TWlanTrafficStreamStatus iTsStatus
RWLMServer iWlmServer
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CLANNifWLMServerPerAC(TWlmAccessClass, TUint, TBool)

CLANNifWLMServerPerAC ( TWlmAccessClass aAccessClass,
TUint aInactivityTime,
TBool aIsAutomaticMgmt
) [private]

Constructor.

Parameters

TWlmAccessClass aAccessClass
TUint aInactivityTime
TBool aIsAutomaticMgmt

~CLANNifWLMServerPerAC()

~CLANNifWLMServerPerAC ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second phase constructor.

DoCancel()

void DoCancel ( ) [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 ( TWlmAccessClass aAccessClass,
TUint aInactivityTime,
TBool aIsAutomaticMgmt
) [static]

Factory method for creating an instance of CLANNifWLMServerPerAC .

Parameters

TWlmAccessClass aAccessClass Access class definition for this instance.
TUint aInactivityTime Inactivity time in microseconds after which the current traffic stream will be deleted.
TBool aIsAutomaticMgmt Whether automatic stream management is allowed.

OnFrameReceive()

void OnFrameReceive ( )

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

OnFrameSend()

void OnFrameSend ( )

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

ResumeInactivityTimer()

void ResumeInactivityTimer ( )

Resume a suspended inactivity timer.

RunError(TInt)

TInt RunError ( TInt aError ) [protected, virtual]

From CActive . Called by the framework if RunL leaves.

Parameters

TInt aError The error code RunL leaved with.

RunL()

void RunL ( ) [protected, virtual]

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

SetTrafficMode(TWlmAcTrafficMode)

void SetTrafficMode ( TWlmAcTrafficMode aMode )

Set the traffic mode for this access class.

Parameters

TWlmAcTrafficMode aMode Traffic mode to set.

SetTrafficStatus(TWlmAcTrafficStatus)

void SetTrafficStatus ( TWlmAcTrafficStatus aStatus )

Set the traffic status for this access class.

Parameters

TWlmAcTrafficStatus aStatus Traffic status to set.

SuspendInactivityTimer()

void SuspendInactivityTimer ( )

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 TWlmAccessClass iAccessClass [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 TUint iTsInactivityTime [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.