bluetooth/btstack/avdtp/avdtpTransportChannel.h
branchRCL_3
changeset 56 015fa7494bd2
parent 41 786b94c6f0a4
equal deleted inserted replaced
49:10183c6d2913 56:015fa7494bd2
    57 							  TTCID aRemotelyAssignedTCID/*=KInvalidTCID*/);
    57 							  TTCID aRemotelyAssignedTCID/*=KInvalidTCID*/);
    58 	virtual ~CTransportChannel();
    58 	virtual ~CTransportChannel();
    59 
    59 
    60 // management path
    60 // management path
    61 	virtual void DetachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType)=0;
    61 	virtual void DetachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType)=0;
    62 	virtual TInt AttachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType, TL2CapConfig::TChannelPriority aPriority)=0;
    62 	virtual TInt AttachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType)=0;
    63 	virtual TBool CouldAttachSession(const TAvdtpSockAddr& aAddr)=0;
    63 	virtual TBool CouldAttachSession(const TAvdtpSockAddr& aAddr)=0;
    64 	virtual TTCID TCID() const=0;
    64 	virtual TTCID TCID() const=0;
    65 	inline const TBTDevAddr& RemoteAddress() const;
    65 	inline const TBTDevAddr& RemoteAddress() const;
    66 	virtual CServProviderBase* ObtainSAP()=0;
    66 	virtual CServProviderBase* ObtainSAP()=0;
    67 
    67 
    99 	CTransportChannel(CAvdtpProtocol& aParent, const TBTDevAddr& aAddr);
    99 	CTransportChannel(CAvdtpProtocol& aParent, const TBTDevAddr& aAddr);
   100 	void ConstructL();
   100 	void ConstructL();
   101 	void CloseLogicalChannel();
   101 	void CloseLogicalChannel();
   102 	inline CAvdtpProtocol& Protocol() const;
   102 	inline CAvdtpProtocol& Protocol() const;
   103 
   103 
   104 private:
       
   105 	virtual void UpdateChannelPriority() = 0;
       
   106 
       
   107 protected:
   104 protected:
   108 	RTCID				iTCID;
   105 	RTCID				iTCID;
   109 	CServProviderBase*	iLogicalChannel;
   106 	CServProviderBase*	iLogicalChannel;
   110 	TDblQueLink			iProtocolQLink;
   107 	TDblQueLink			iProtocolQLink;
   111 	TBool				iLogicalChannelBlocked;
   108 	TBool				iLogicalChannelBlocked;