A UDP/IPv4 socket class targetted at RTP stacks.
More...
#include <channel.h>
Inheritance diagram for ost::RTPBaseUDPIPv4Socket:
List of all members.
Detailed Description
A UDP/IPv4 socket class targetted at RTP stacks.
This class provides a flat interface that includes all the services required by an RTP stack.
It can be used in two ways:
To instantiate the DualSocket template, which will be used to instantiate an RTP stack template (such as TRTPSessionBase).
To directly instantiate an RTP stack template (such as TRTPSessionBase).
This class offers an example of the interface that other classes should provide in order to specialize the ccRTP stack for different underlying protocols.
- Author:
- Federico Montesino Pouzols <fedemp@altern.org>
Constructor & Destructor Documentation
| ost::RTPBaseUDPIPv4Socket::RTPBaseUDPIPv4Socket |
( |
const InetAddress & |
ia, |
|
|
tpport_t |
port |
|
) |
[inline] |
|
|
|
Constructor for receiver.
|
| ost::RTPBaseUDPIPv4Socket::~RTPBaseUDPIPv4Socket |
( |
|
) |
[inline] |
|
| ost::RTPBaseUDPIPv4Socket::RTPBaseUDPIPv4Socket |
( |
|
) |
[inline] |
|
|
|
Constructor for transmitter.
|
Member Function Documentation
| Socket::Error ost::RTPBaseUDPIPv4Socket::drop |
( |
const InetMcastAddress & |
ia |
) |
[inline] |
|
| void ost::RTPBaseUDPIPv4Socket::endSocket |
( |
void |
|
) |
[inline] |
|
| size_t ost::RTPBaseUDPIPv4Socket::getNextPacketSize |
( |
|
) |
const [inline] |
|
|
|
Get size of next datagram waiting to be read.
|
| SOCKET ost::RTPBaseUDPIPv4Socket::getRecvSocket |
( |
|
) |
const [inline] |
|
| InetHostAddress ost::RTPBaseUDPIPv4Socket::getSender |
( |
tpport_t & |
port |
) |
const [inline] |
|
| bool ost::RTPBaseUDPIPv4Socket::isPendingRecv |
( |
microtimeout_t |
timeout |
) |
[inline] |
|
| Socket::Error ost::RTPBaseUDPIPv4Socket::join |
( |
const InetMcastAddress & |
ia, |
|
|
uint32 |
iface |
|
) |
[inline] |
|
| size_t ost::RTPBaseUDPIPv4Socket::recv |
( |
unsigned char * |
buffer, |
|
|
size_t |
len |
|
) |
[inline] |
|
| size_t ost::RTPBaseUDPIPv4Socket::send |
( |
const unsigned char *const |
buffer, |
|
|
size_t |
len |
|
) |
[inline] |
|
| Socket::Error ost::RTPBaseUDPIPv4Socket::setMulticast |
( |
bool |
enable |
) |
[inline] |
|
| void ost::RTPBaseUDPIPv4Socket::setPeer |
( |
const InetAddress & |
ia, |
|
|
tpport_t |
port |
|
) |
[inline] |
|
| Socket::Error ost::RTPBaseUDPIPv4Socket::setTimeToLive |
( |
unsigned char |
ttl |
) |
[inline] |
|
The documentation for this class was generated from the following file:
Generated on Thu Apr 6 09:03:05 2006 for Bayonne Framework by
1.4.6