sipxmedialib  Version 3.3
INetworkRender.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 // Border Guard
15 #ifndef _INetworkRender_h
16 #define _INetworkRender_h
17 
18 #include "rtcp/RtcpConfig.h"
19 
20 // Includes
21 #include "IBaseClass.h"
22 #include "INetworkChannel.h"
23 
38 interface INetworkRender : public INetworkChannel
39  {
40 
41 // Public Methods
42 
43 public:
44 
45 /*|><|************************************************************************
46  Name: Send
47 
48  Description: A private method that takes a data transmission delivered by the
49  StreamClient's DataReceived() callback and sends it the
50  associated channel socket for transmission to the respective FE.
51  The Send() method also contains some conditionally compiled
52  logic to collect statistics regarding packets being sent.
53 
54  Returns: int.
55  ***********************************************************************|><|*/
56  virtual int Send(unsigned char * puchDataBuffer,
57  unsigned long ulBytesToSend) = 0;
58 
59  virtual int getSocketDescriptor(void) = 0;
60  virtual int getSocketPort(void) = 0;
61 
62 };
63 
64 
65 #endif
virtual int getSocketDescriptor(void)=0
virtual int getSocketPort(void)=0
interface unsigned long ulBytesToSend
Definition: INetworkRender.h:57