bluetooth/btstack/avdtp/avdtpTransportChannel.h
branchRCL_3
changeset 22 786b94c6f0a4
parent 0 29b1cd4cb562
equal deleted inserted replaced
21:14e240312f6f 22:786b94c6f0a4
    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)=0;
    62 	virtual TInt AttachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType, TL2CapConfig::TChannelPriority aPriority)=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 
   104 protected:
   107 protected:
   105 	RTCID				iTCID;
   108 	RTCID				iTCID;
   106 	CServProviderBase*	iLogicalChannel;
   109 	CServProviderBase*	iLogicalChannel;
   107 	TDblQueLink			iProtocolQLink;
   110 	TDblQueLink			iProtocolQLink;
   108 	TBool				iLogicalChannelBlocked;
   111 	TBool				iLogicalChannelBlocked;