sipxmedialib  Version 3.3
IByeReport.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006-2013 SIPez LLC. All rights reserved.
3 //
4 // Copyright (C) 2004-2006 SIPfoundry Inc.
5 // Licensed by SIPfoundry under the LGPL license.
6 //
7 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
8 // Licensed to SIPfoundry under a Contributor Agreement.
9 //
10 // $$
12 
13 
14 
15 // Border Guard
16 #ifndef _IByeReport_h
17 #define _IByeReport_h
18 
19 #include "rtcp/RtcpConfig.h"
20 
21 // Include
22 #include "IBaseClass.h"
23 
38 interface IByeReport : IBaseClass
39  {
40 
41 // Public Methods
42 
43 public:
44 
45 virtual ~IByeReport() {}
46 
66  virtual void SetSSRC(ssrc_t ulSSRC) = 0;
67 
91  virtual void SetCSRC(ssrc_t *paulCSRC, unsigned long ulCSRCCount, bool bNBO)=0;
92 
116  virtual void SetReason(unsigned char *puchReason, unsigned long ulLength)=0;
117 
140  virtual unsigned long FormatByeReport(unsigned char *puchReportBuffer,
141  unsigned long ulBufferSize)=0;
142 
143 
164  virtual unsigned long ParseByeReport(unsigned char *puchReportBuffer)=0;
165 
166 
167 };
168 
169 #endif
170 
virtual void SetCSRC(ssrc_t *paulCSRC, unsigned long ulCSRCCount, bool bNBO)=0
interface unsigned long ulBufferSize
Definition: INetworkSource.h:54
virtual unsigned long ParseByeReport(unsigned char *puchReportBuffer)=0
virtual void SetReason(unsigned char *puchReason, unsigned long ulLength)=0
virtual void SetSSRC(unsigned long ulSSRC)=0
interface long unsigned char * puchReportBuffer
Definition: ISDESReport.h:79
uint32_t ssrc_t
Definition: RtcpConfig.h:62
virtual unsigned long FormatByeReport(unsigned char *puchReportBuffer, unsigned long ulBufferSize)=0