CGavdp Class Reference

class CGavdp : public CBase

Inherits from

Public Member Functions
~CGavdp()
voidAbortStream(TSEID)
TInt AddSEPCapability(const TAvdtpServiceCapability &)
RSocket &AvdtpIndicator()
RSocket &AvdtpRequester()
RSocketServ &AvdtpSession()
TInt BeginConfiguringLocalSEP(TSEID)
TInt BeginConfiguringRemoteSEP(TSEID, TSEID)
voidCancel()
voidCommitSEPConfiguration()
voidConnect(const TBTDevAddr &)
TInt CreateBearerSockets(TSEID)
voidDiscoverRemoteSEPs()
voidGetRemoteSEPCapabilities(TSEID, const TAvdtpServiceCategories &)
TInt Listen()
CGavdp *NewL(MGavdpUser &, RSocketServ &, RGavdp &)
TInt RegisterSEP(TAvdtpSEPInfo &)
voidSendSecurityControl(TSEID, const TDesC8 &)
TInt Shutdown()
voidStartStream(TSEID)
voidSuspendStream(TSEID)
Private Member Functions
CGavdp(MGavdpUser &, RSocketServ &, RGavdp &)
voidBindBearersL(TSEID, TBool, TBool)
voidBindSignallingL(const TBTDevAddr &)
TBool CheckSEID(TSEID)
voidConstructL()
voidConstructSocketsAndHelpersL()
voidDeAllocSocketsAndHelpers()
voidError(TInt)
voidFatalError()
voidSendResponse(TInternalAvdtpAirIndication, TInt, const TAny *, TInt)
voidServiceComplete(TInt)
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()
Private Member Enumerations
enumTGavdpState {
EIdle, EConfiguringLocalSEP, EConfiguringRemoteSEP, EListening, EConnecting, EConnected
}
Private Attributes
RSocket iAvdtpIndicator
RSocket iAvdtpRequester
RSocketServ &iClientSocketServer
RGavdp &iHandle
CGavdpHelper *iIndicatorHelper
TInt iNumSEPsRegistered
CGavdpHelper *iRequesterHelper
MGavdpUser &iServiceUser
RSocketServ iSocketServer
TGavdpState iState

Constructor & Destructor Documentation

CGavdp(MGavdpUser &, RSocketServ &, RGavdp &)

CGavdp(MGavdpUser &aServiceUser,
RSocketServ &aSocketServer,
RGavdp &aHandle
)[private]

Parameters

MGavdpUser & aServiceUser
RSocketServ & aSocketServer
RGavdp & aHandle

~CGavdp()

~CGavdp()

Member Functions Documentation

AbortStream(TSEID)

voidAbortStream(TSEIDaSEID)

Parameters

TSEID aSEID

AddSEPCapability(const TAvdtpServiceCapability &)

TInt AddSEPCapability(const TAvdtpServiceCapability &aCapability)

Parameters

const TAvdtpServiceCapability & aCapability

AvdtpIndicator()

RSocket &AvdtpIndicator()[inline]

AvdtpRequester()

RSocket &AvdtpRequester()[inline]

AvdtpSession()

RSocketServ &AvdtpSession()[inline]

BeginConfiguringLocalSEP(TSEID)

TInt BeginConfiguringLocalSEP(TSEIDaSEID)

Parameters

TSEID aSEID

BeginConfiguringRemoteSEP(TSEID, TSEID)

TInt BeginConfiguringRemoteSEP(TSEIDaRemoteSEID,
TSEIDaLocalSEID
)

Parameters

TSEID aRemoteSEID
TSEID aLocalSEID

BindBearersL(TSEID, TBool, TBool)

voidBindBearersL(TSEIDaSEID,
TBoolaRequireReporting,
TBoolaRequireRecovery
)[private]

Parameters

TSEID aSEID
TBool aRequireReporting
TBool aRequireRecovery

BindSignallingL(const TBTDevAddr &)

voidBindSignallingL(const TBTDevAddr &aRemoteAddr)[private]

Parameters

const TBTDevAddr & aRemoteAddr

Cancel()

voidCancel()

CheckSEID(TSEID)

TBool CheckSEID(TSEIDaSEID)[private, inline]

Parameters

TSEID aSEID

CommitSEPConfiguration()

voidCommitSEPConfiguration()

Connect(const TBTDevAddr &)

voidConnect(const TBTDevAddr &aRemoteAddr)

Parameters

const TBTDevAddr & aRemoteAddr

ConstructL()

voidConstructL()[private]

ConstructSocketsAndHelpersL()

voidConstructSocketsAndHelpersL()[private]

CreateBearerSockets(TSEID)

TInt CreateBearerSockets(TSEIDaSEID)

Parameters

TSEID aSEID

DeAllocSocketsAndHelpers()

voidDeAllocSocketsAndHelpers()[private]

DiscoverRemoteSEPs()

voidDiscoverRemoteSEPs()

Error(TInt)

voidError(TIntaError)[private]

Parameters

TInt aError

FatalError()

voidFatalError()[private]

GetRemoteSEPCapabilities(TSEID, const TAvdtpServiceCategories &)

voidGetRemoteSEPCapabilities(TSEIDaSEID,
const TAvdtpServiceCategories &aInterestedCategories
)

Parameters

TSEID aSEID
const TAvdtpServiceCategories & aInterestedCategories

Listen()

TInt Listen()

Called when gavdp client has registed all seps and is ready May be short lived as they may try to connect out quickly

NewL(MGavdpUser &, RSocketServ &, RGavdp &)

CGavdp *NewL(MGavdpUser &aServiceUser,
RSocketServ &aSocketServer,
RGavdp &aHandle
)[static]

Parameters

MGavdpUser & aServiceUser
RSocketServ & aSocketServer
RGavdp & aHandle

RegisterSEP(TAvdtpSEPInfo &)

TInt RegisterSEP(TAvdtpSEPInfo &aInfo)

Parameters

TAvdtpSEPInfo & aInfo

SendResponse(TInternalAvdtpAirIndication, TInt, const TAny *, TInt)

voidSendResponse(TInternalAvdtpAirIndicationaIndication,
TIntaResult,
const TAny *aResponseData = NULL,
TIntaResponseDataLen = 0
)[private]

Parameters

TInternalAvdtpAirIndication aIndication
TInt aResult
const TAny * aResponseData = NULL
TInt aResponseDataLen = 0

SendSecurityControl(TSEID, const TDesC8 &)

voidSendSecurityControl(TSEIDaSEID,
const TDesC8 &aSecurityData
)

Parameters

TSEID aSEID
const TDesC8 & aSecurityData

ServiceComplete(TInt)

voidServiceComplete(TIntaResult)[private]

Parameters

TInt aResult

Shutdown()

TInt Shutdown()

StartStream(TSEID)

voidStartStream(TSEIDaSEID)

Parameters

TSEID aSEID

SuspendStream(TSEID)

voidSuspendStream(TSEIDaSEID)

Parameters

TSEID aSEID

Member Enumerations Documentation

Enum TGavdpState

Enumerators

EIdle
EConfiguringLocalSEP
EConfiguringRemoteSEP
EListening
EConnecting
EConnected

Member Data Documentation

RSocket iAvdtpIndicator

RSocket iAvdtpIndicator[private]

RSocket iAvdtpRequester

RSocket iAvdtpRequester[private]

RSocketServ & iClientSocketServer

RSocketServ &iClientSocketServer[private]

RGavdp & iHandle

RGavdp &iHandle[private]

CGavdpHelper * iIndicatorHelper

CGavdpHelper *iIndicatorHelper[private]

TInt iNumSEPsRegistered

TInt iNumSEPsRegistered[private]

CGavdpHelper * iRequesterHelper

CGavdpHelper *iRequesterHelper[private]

MGavdpUser & iServiceUser

MGavdpUser &iServiceUser[private]

RSocketServ iSocketServer

RSocketServ iSocketServer[private]

TGavdpState iState

TGavdpState iState[private]