bluetooth/btstack/avdtp/avdtpReportingSession.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // avdtpReportingSession.cpp
       
    15 // Implements the avdtp reporting transport session
       
    16 // The reporting session is-a transport session as defined in the AVDTP specification
       
    17 // It allows the conveyance of reporting information for a stream.
       
    18 // This reporting information is typically encasulated in RTCP packets.
       
    19 // 
       
    20 //
       
    21 
       
    22 /**
       
    23  @file
       
    24  @internalComponent
       
    25 */
       
    26 
       
    27 #ifndef AVDTPREPORTINGSESSION_H
       
    28 #define AVDTPREPORTINGSESSION_H
       
    29 
       
    30 #include "avdtpTransportSession.h"
       
    31 
       
    32 class CTransportChannel;
       
    33 class CAvdtpSAP;
       
    34 class CAvdtpProtocol;
       
    35 class RAvdtpMessage;
       
    36 
       
    37 NONSHARABLE_CLASS(CReportingSession) : public CUserPlaneTransportSession
       
    38 	{
       
    39 public:
       
    40 	static CReportingSession* NewLC(CAvdtpProtocol& aProtocol, CAvdtpSAP& aSAP, CAVStream& aStream);
       
    41 	static CReportingSession* NewL(CAvdtpProtocol& aProtocol, CAvdtpSAP& aSAP, CAVStream& aStream);
       
    42 
       
    43 	virtual TInt Send(RMBufChain& aData, TUint aOptions, TSockAddr* aAddr);
       
    44 
       
    45 	virtual TInt DoActiveOpen();
       
    46 	virtual void CanSend();
       
    47 	
       
    48 private:
       
    49 	CReportingSession(CAvdtpProtocol& aProtocol, CAvdtpSAP& aSAP, CAVStream& aStream);
       
    50 	void ConstructL();
       
    51 
       
    52 
       
    53 private:
       
    54 	};
       
    55 	
       
    56 #endif //AVDTPREPORTINGSESSION_H