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 *)
void NotifyError ( TInt )
TInt OpenExisting ()
void ProcessEvent ( TPfqosMessage &)
void ProcessReply ( TPfqosMessage &)
TInt SetQoS ( CQoSParameters &)
EQoSChannelStatus Status ()
Private Member Functions
CChannel ( CQoSMan *)
void ConstructL ( RSocket &, CQoSParameters *)
void CreateSelector ( 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
enum TPendingStatus {
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 *)

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

Parameters

RSocket & aSocket
CQoSParameters * aSpec

CreateSelector(TQoSSelector &, const TPfqosMessage &)

void CreateSelector ( 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 ( TInt aChannelId )

Parameters

TInt aChannelId

MatchReply(const TPfqosMessage &, TUint8)

TBool MatchReply ( const TPfqosMessage & aMsg,
TUint8 aMsgType
) [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)

void NotifyError ( TInt aReason ) [virtual]

Parameters

TInt aReason

OpenExisting()

TInt OpenExisting ( )

ProcessEvent(TPfqosMessage &)

void ProcessEvent ( TPfqosMessage & aMsg ) [virtual]

Parameters

TPfqosMessage & aMsg

ProcessReply(TPfqosMessage &)

void ProcessReply ( 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]