CGavdp Class Reference

class CGavdp : public CBase

Inherits from

Public Member Functions
~CGavdp ()
void AbortStream ( TSEID )
TInt AddSEPCapability (const TAvdtpServiceCapability &)
RSocket & AvdtpIndicator ()
RSocket & AvdtpRequester ()
RSocketServ & AvdtpSession ()
TInt BeginConfiguringLocalSEP ( TSEID )
TInt BeginConfiguringRemoteSEP ( TSEID , TSEID )
void Cancel ()
void CommitSEPConfiguration ()
void Connect (const TBTDevAddr &)
TInt CreateBearerSockets ( TSEID )
void DiscoverRemoteSEPs ()
void GetRemoteSEPCapabilities ( TSEID , const TAvdtpServiceCategories &)
TInt Listen ()
CGavdp * NewL ( MGavdpUser &, RSocketServ &, RGavdp &)
TInt RegisterSEP ( TAvdtpSEPInfo &)
void SendSecurityControl ( TSEID , const TDesC8 &)
TInt Shutdown ()
void StartStream ( TSEID )
void SuspendStream ( TSEID )
Private Member Functions
CGavdp ( MGavdpUser &, RSocketServ &, RGavdp &)
void BindBearersL ( TSEID , TBool , TBool )
void BindSignallingL (const TBTDevAddr &)
TBool CheckSEID ( TSEID )
void ConstructL ()
void ConstructSocketsAndHelpersL ()
void DeAllocSocketsAndHelpers ()
void Error ( TInt )
void FatalError ()
void SendResponse ( TInternalAvdtpAirIndication , TInt , const TAny *, TInt )
void ServiceComplete ( 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
enum TGavdpState {
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)

void AbortStream ( TSEID aSEID )

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 ( TSEID aSEID )

Parameters

TSEID aSEID

BeginConfiguringRemoteSEP(TSEID, TSEID)

TInt BeginConfiguringRemoteSEP ( TSEID aRemoteSEID,
TSEID aLocalSEID
)

Parameters

TSEID aRemoteSEID
TSEID aLocalSEID

BindBearersL(TSEID, TBool, TBool)

void BindBearersL ( TSEID aSEID,
TBool aRequireReporting,
TBool aRequireRecovery
) [private]

Parameters

TSEID aSEID
TBool aRequireReporting
TBool aRequireRecovery

BindSignallingL(const TBTDevAddr &)

void BindSignallingL ( const TBTDevAddr & aRemoteAddr ) [private]

Parameters

const TBTDevAddr & aRemoteAddr

Cancel()

void Cancel ( )

CheckSEID(TSEID)

TBool CheckSEID ( TSEID aSEID ) [private, inline]

Parameters

TSEID aSEID

CommitSEPConfiguration()

void CommitSEPConfiguration ( )

Connect(const TBTDevAddr &)

void Connect ( const TBTDevAddr & aRemoteAddr )

Parameters

const TBTDevAddr & aRemoteAddr

ConstructL()

void ConstructL ( ) [private]

ConstructSocketsAndHelpersL()

void ConstructSocketsAndHelpersL ( ) [private]

CreateBearerSockets(TSEID)

TInt CreateBearerSockets ( TSEID aSEID )

Parameters

TSEID aSEID

DeAllocSocketsAndHelpers()

void DeAllocSocketsAndHelpers ( ) [private]

DiscoverRemoteSEPs()

void DiscoverRemoteSEPs ( )

Error(TInt)

void Error ( TInt aError ) [private]

Parameters

TInt aError

FatalError()

void FatalError ( ) [private]

GetRemoteSEPCapabilities(TSEID, const TAvdtpServiceCategories &)

void GetRemoteSEPCapabilities ( TSEID aSEID,
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)

void SendResponse ( TInternalAvdtpAirIndication aIndication,
TInt aResult,
const TAny * aResponseData = NULL,
TInt aResponseDataLen = 0
) [private]

Parameters

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

SendSecurityControl(TSEID, const TDesC8 &)

void SendSecurityControl ( TSEID aSEID,
const TDesC8 & aSecurityData
)

Parameters

TSEID aSEID
const TDesC8 & aSecurityData

ServiceComplete(TInt)

void ServiceComplete ( TInt aResult ) [private]

Parameters

TInt aResult

Shutdown()

TInt Shutdown ( )

StartStream(TSEID)

void StartStream ( TSEID aSEID )

Parameters

TSEID aSEID

SuspendStream(TSEID)

void SuspendStream ( TSEID aSEID )

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]