T38PseudoRTP Class Reference

#include <t38proto.h>

Inheritance diagram for T38PseudoRTP:

RTP_UDP RTP_Session List of all members.

Construction

BOOL corrigendumASN
int consecutiveBadPackets
PBYTEArray lastIFP
 T38PseudoRTP (PHandleAggregator *aggregator, unsigned id, BOOL remoteIsNAT)
 ~T38PseudoRTP ()
 Destroy the RTP.
BOOL ReadData (RTP_DataFrame &frame, BOOL loop)
BOOL WriteData (RTP_DataFrame &frame)
RTP_Session::SendReceiveStatus OnSendData (RTP_DataFrame &frame)
RTP_Session::SendReceiveStatus OnSendControl (RTP_ControlFrame &, PINDEX &)
RTP_Session::SendReceiveStatus ReadDataPDU (RTP_DataFrame &frame)
RTP_Session::SendReceiveStatus OnReceiveData (RTP_DataFrame &frame)
BOOL SetRemoteSocketInfo (PIPSocket::Address address, WORD port, BOOL isDataPort)
int WaitForPDU (PUDPSocket &dataSocket, PUDPSocket &controlSocket, const PTimeInterval &timeout)
BOOL OnTimeout (RTP_DataFrame &frame)

Detailed Description

This class is for the IETF Real Time Protocol interface on UDP/IP.


Constructor & Destructor Documentation

T38PseudoRTP::T38PseudoRTP ( PHandleAggregator aggregator,
unsigned  id,
BOOL  remoteIsNAT 
)

Create a new RTP channel.

Parameters:
aggregator  RTP aggregator
id  Session ID for RTP channel
remoteIsNAT  TRUE is remote is behind NAT

T38PseudoRTP::~T38PseudoRTP (  ) 

Destroy the RTP.


Member Function Documentation

BOOL T38PseudoRTP::ReadData ( RTP_DataFrame frame,
BOOL  loop 
) [virtual]

Read a data frame from the RTP channel. Any control frames received are dispatched to callbacks and are not returned by this function. It will block until a data frame is available or an error occurs.

Reimplemented from RTP_UDP.

BOOL T38PseudoRTP::WriteData ( RTP_DataFrame frame  )  [virtual]

Write a data frame to the RTP channel.

Reimplemented from RTP_UDP.

RTP_Session::SendReceiveStatus T38PseudoRTP::OnSendData ( RTP_DataFrame frame  )  [virtual]

Reimplemented from RTP_Session.

RTP_Session::SendReceiveStatus T38PseudoRTP::OnSendControl ( RTP_ControlFrame ,
PINDEX &   
) [virtual]

Reimplemented from RTP_Session.

RTP_Session::SendReceiveStatus T38PseudoRTP::ReadDataPDU ( RTP_DataFrame frame  )  [virtual]

Reimplemented from RTP_UDP.

RTP_Session::SendReceiveStatus T38PseudoRTP::OnReceiveData ( RTP_DataFrame frame  )  [virtual]

Reimplemented from RTP_Session.

BOOL T38PseudoRTP::SetRemoteSocketInfo ( PIPSocket::Address  address,
WORD  port,
BOOL  isDataPort 
) [virtual]

Set the remote address and port information for session.

Reimplemented from RTP_UDP.

int T38PseudoRTP::WaitForPDU ( PUDPSocket &  dataSocket,
PUDPSocket &  controlSocket,
const PTimeInterval &  timeout 
) [protected, virtual]

Reimplemented from RTP_UDP.

BOOL T38PseudoRTP::OnTimeout ( RTP_DataFrame frame  )  [protected]


Member Data Documentation

BOOL T38PseudoRTP::corrigendumASN [protected]

int T38PseudoRTP::consecutiveBadPackets [protected]

PBYTEArray T38PseudoRTP::lastIFP [protected]


The documentation for this class was generated from the following file:
Generated on Fri Mar 7 06:34:08 2008 for OPAL by  doxygen 1.5.1