Bayonne2 / Common C++ 2 Framework
Public Member Functions | Private Attributes
DualRTPChannel< BaseSocket > Class Template Reference
Underlying transport protocol socket classes.

#include <channel.h>

Collaboration diagram for DualRTPChannel< BaseSocket >:
Collaboration graph
[legend]

Public Member Functions

  DualRTPChannel (const InetAddress &ia, tpport_t port)
 
 
bool  isPendingRecv (microtimeout_t timeout) const
 
 
size_t  recv (unsigned char *buffer, size_t len)
 
size_t  getNextPacketSize () const
 
Socket::Error  setMulticast (bool enable)
 
Socket::Error  join (const InetMcastAddress &ia, uint32 iface)
 
 
Socket::Error  setTimeToLive (unsigned char ttl)
 
void  setPeer (const InetAddress &host, tpport_t port)
 
size_t  send (const unsigned char *const buffer, size_t len)
 
SOCKET  getRecvSocket () const
 
void  endSocket ()
 

Private Attributes

BaseSocket *  sendSocket
 
BaseSocket *  recvSocket
 

Detailed Description

template<class BaseSocket>
class DualRTPChannel< BaseSocket >

Definition at line 189 of file channel.h.

Constructor & Destructor Documentation

template<class BaseSocket >
DualRTPChannel< BaseSocket >::DualRTPChannel ( const InetAddressia,
tpport_t  port 
)
inline

Definition at line 192 of file channel.h.

template<class BaseSocket >
DualRTPChannel< BaseSocket >::~DualRTPChannel ( )
inline

Definition at line 198 of file channel.h.

Member Function Documentation

template<class BaseSocket >
Socket::Error DualRTPChannel< BaseSocket >::drop ( const InetMcastAddressia )
inline

Definition at line 228 of file channel.h.

template<class BaseSocket >
void DualRTPChannel< BaseSocket >::endSocket ( void  )
inline

Definition at line 248 of file channel.h.

template<class BaseSocket >
size_t DualRTPChannel< BaseSocket >::getNextPacketSize ( ) const
inline

Definition at line 214 of file channel.h.

template<class BaseSocket >
SOCKET DualRTPChannel< BaseSocket >::getRecvSocket ( ) const
inline

Definition at line 243 of file channel.h.

template<class BaseSocket >
InetHostAddress DualRTPChannel< BaseSocket >::getSender ( tpport_tport ) const
inline

Definition at line 206 of file channel.h.

template<class BaseSocket >
bool DualRTPChannel< BaseSocket >::isPendingRecv ( microtimeout_t  timeout ) const
inline

Definition at line 202 of file channel.h.

template<class BaseSocket >
Socket::Error DualRTPChannel< BaseSocket >::join ( const InetMcastAddressia,
uint32  iface 
)
inline

Definition at line 224 of file channel.h.

template<class BaseSocket >
size_t DualRTPChannel< BaseSocket >::recv ( unsigned char *  buffer,
size_t  len 
)
inline

Definition at line 210 of file channel.h.

template<class BaseSocket >
size_t DualRTPChannel< BaseSocket >::send ( const unsigned char *const  buffer,
size_t  len 
)
inline

Definition at line 240 of file channel.h.

template<class BaseSocket >
Socket::Error DualRTPChannel< BaseSocket >::setMulticast ( bool  enable )
inline

Definition at line 218 of file channel.h.

template<class BaseSocket >
void DualRTPChannel< BaseSocket >::setPeer ( const InetAddresshost,
tpport_t  port 
)
inline

Definition at line 236 of file channel.h.

template<class BaseSocket >
Socket::Error DualRTPChannel< BaseSocket >::setTimeToLive ( unsigned char  ttl )
inline

Definition at line 232 of file channel.h.

Field Documentation

template<class BaseSocket >
BaseSocket* DualRTPChannel< BaseSocket >::recvSocket
private

Definition at line 253 of file channel.h.

template<class BaseSocket >
BaseSocket* DualRTPChannel< BaseSocket >::sendSocket
private

Definition at line 252 of file channel.h.


The documentation for this class was generated from the following file:

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /