Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RTPDuplex Class Reference

A peer associated RTP socket pair for physically connected peer hosts. RTP peer host over UDP. More...

#include <rtp.h>

Inheritance diagram for RTPDuplex:

RTPQueue UDPReceive UDPTransmit Thread List of all members.

Public Methods

 RTPDuplex (const InetAddress &bind, tpport_t local, tpport_t remote, int pri)
 ~RTPDuplex ()
sockerror_t Connect (const InetHostAddress &host, tpport_t port = 0)

Protected Methods

bool isPendingArrival (timeout_t timeout)
int writePacket (unsigned char *buffer, unsigned len)
int readPacket (unsigned char *buffer, unsigned len)

Detailed Description

A peer associated RTP socket pair for physically connected peer hosts. RTP peer host over UDP.

This has no RTCP and assumes the receiver is connected to a known transmitter, hence no "foreign" packets will arrive.

Author(s):
David Sugar


Constructor & Destructor Documentation

RTPDuplex::RTPDuplex ( const InetAddress & bind,
tpport_t local,
tpport_t remote,
int pri )
 

RTPDuplex::~RTPDuplex ( )
 


Member Function Documentation

sockerror_t RTPDuplex::Connect ( const InetHostAddress & host,
tpport_t port = 0 )
 

bool RTPDuplex::isPendingArrival ( timeout_t timeout ) [inline, protected, virtual]
 

Reimplemented from RTPQueue.

int RTPDuplex::readPacket ( unsigned char * buffer,
unsigned len ) [inline, protected, virtual]
 

Reimplemented from RTPQueue.

int RTPDuplex::writePacket ( unsigned char * buffer,
unsigned len ) [inline, protected, virtual]
 

Reimplemented from RTPQueue.


The documentation for this class was generated from the following file:
Generated at Thu Jun 21 12:18:48 2001 for CommonC++ by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000