CChannel Class Reference

class CChannel : public CQoSRequestBase

Inherits from

Public Member Functions
~CChannel()
TUint Capabilities()
TInt ChannelId()
TInt Close()
TInt GetCapabilities(TUint &)
CQoSParameters &GetPolicy()
TInt Join(RSocket &)
TInt Leave(RSocket &)
TBool Match(TInt)
TBool MatchReply(const TPfqosMessage &, TUint8)
CChannel *NewL(CQoSMan *, RSocket &, CQoSParameters *)
voidNotifyError(TInt)
TInt OpenExisting()
voidProcessEvent(TPfqosMessage &)
voidProcessReply(TPfqosMessage &)
TInt SetQoS(CQoSParameters &)
EQoSChannelStatus Status()
Private Member Functions
CChannel(CQoSMan *)
voidConstructL(RSocket &, CQoSParameters *)
voidCreateSelector(TQoSSelector &, const TPfqosMessage &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
CQoSRequestBase::CancelNotifyEvent(MQoSObserver &)
CQoSRequestBase::GetExtensionType(const TDesC8 &,TInt &)
CQoSRequestBase::NotifyEvent(MQoSObserver &,TUint)
CQoSRequestBase::ParseExtensions(TPfqosMessage &,CQoSParameters &)
CQoSRequestBase::~CQoSRequestBase()
Public Member Enumerations
enumTPendingStatus {
ENone, EPendingOpen, EPendingOpenExisting, EPendingOpenExistingSetQoS, EPendingSetPolicy, EPendingJoin, EPendingLeave, EPendingDelete
}
Private Attributes
TUint iCapabilities
TInt iChannelId
TPendingStatus iPending
TQoSSelector iPendingRequestSelector
TQoSSelector iRequestSelector
EQoSChannelStatus iStatus
Inherited Attributes
CQoSRequestBase::iEventMask
CQoSRequestBase::iManager
CQoSRequestBase::iNext
CQoSRequestBase::iObserver
CQoSRequestBase::iPolicy

Constructor & Destructor Documentation

CChannel(CQoSMan *)

CChannel(CQoSMan *aManager)[private]

Parameters

CQoSMan * aManager

~CChannel()

~CChannel()

Member Functions Documentation

Capabilities()

TUint Capabilities()const [inline]

ChannelId()

TInt ChannelId()const [inline]

Close()

TInt Close()

ConstructL(RSocket &, CQoSParameters *)

voidConstructL(RSocket &aSocket,
CQoSParameters *aSpec
)[private]

Parameters

RSocket & aSocket
CQoSParameters * aSpec

CreateSelector(TQoSSelector &, const TPfqosMessage &)

voidCreateSelector(TQoSSelector &aSelector,
const TPfqosMessage &aMsg
)[private]

Parameters

TQoSSelector & aSelector
const TPfqosMessage & aMsg

GetCapabilities(TUint &)

TInt GetCapabilities(TUint &aCapabilities)

Parameters

TUint & aCapabilities

GetPolicy()

CQoSParameters &GetPolicy()[inline]

Join(RSocket &)

TInt Join(RSocket &aSocket)

Parameters

RSocket & aSocket

Leave(RSocket &)

TInt Leave(RSocket &aSocket)

Parameters

RSocket & aSocket

Match(TInt)

TBool Match(TIntaChannelId)

Parameters

TInt aChannelId

MatchReply(const TPfqosMessage &, TUint8)

TBool MatchReply(const TPfqosMessage &aMsg,
TUint8aMsgType
)[virtual]

Parameters

const TPfqosMessage & aMsg
TUint8 aMsgType

NewL(CQoSMan *, RSocket &, CQoSParameters *)

CChannel *NewL(CQoSMan *aManager,
RSocket &aSocket,
CQoSParameters *aSpec
)[static]

Parameters

CQoSMan * aManager
RSocket & aSocket
CQoSParameters * aSpec

NotifyError(TInt)

voidNotifyError(TIntaReason)[virtual]

Parameters

TInt aReason

OpenExisting()

TInt OpenExisting()

ProcessEvent(TPfqosMessage &)

voidProcessEvent(TPfqosMessage &aMsg)[virtual]

Parameters

TPfqosMessage & aMsg

ProcessReply(TPfqosMessage &)

voidProcessReply(TPfqosMessage &aMsg)[virtual]

Parameters

TPfqosMessage & aMsg

SetQoS(CQoSParameters &)

TInt SetQoS(CQoSParameters &aPolicy)

Parameters

CQoSParameters & aPolicy

Status()

EQoSChannelStatus Status()const [inline]

Member Enumerations Documentation

Enum TPendingStatus

Enumerators

ENone
EPendingOpen
EPendingOpenExisting
EPendingOpenExistingSetQoS
EPendingSetPolicy
EPendingJoin
EPendingLeave
EPendingDelete

Member Data Documentation

TUint iCapabilities

TUint iCapabilities[private]

TInt iChannelId

TInt iChannelId[private]

TPendingStatus iPending

TPendingStatus iPending[private]

TQoSSelector iPendingRequestSelector

TQoSSelector iPendingRequestSelector[private]

TQoSSelector iRequestSelector

TQoSSelector iRequestSelector[private]

EQoSChannelStatus iStatus

EQoSChannelStatus iStatus[private]