RTPSocket Class Reference

[ARTS Index] [ARTS Heirarchy]


Abstract base class for UDP RTP protocol service. More...

#include <rtp.h>

Inherits: UDPSocket, RTPSendThread, RTPRecvThread

Public Members


Detailed Description

This abstract class implements the basic support needed for a UDP RTP session. It uses both a sending and receiving service thread each of which may have derived methods in this new class.


RTPSocket(InetAddress &bind, short port, int pri, unsigned long session)

Create and bind an RTP socket to an internet interface address and known port number. The sending thread timeout can be adjusted with setTimeout() before calling Start() for the sending service thread. One might also call setPayload, etc.

Parameters:
pri of service threads relative to parent.
session id for sending under.
port address to bind the service under.
bind address to bind this socket to.

void Start(void)

Starts both service threads. This functions similar to the APE thread Start() method and uses the private starting semaphore.


  • Author: David Sugar <dyfet@ostel.com>.
  • Documentation generated by dyfet@centauri.sys on Tue Jun 29 23:36:17 EDT 1999
Kdoc