class OpalT38Protocol

This class handles the processing of the T38 protocol

Inheritance:


Public Methods

[more] Construction
[more] Operations


Documentation

This class handles the processing of the T38 protocol
o Construction

o OpalT38Protocol()
Create a new protocol handler

o ~OpalT38Protocol()
Destroy the protocol handler

o Operations

ovirtual void CleanUpOnTermination()
This is called to clean up any threads on connection termination

ovirtual BOOL Originate()
Handle the origination of a T38 connection. An application would normally override this. The default just sends "heartbeat" T.30 no signal indicator.

ovirtual BOOL WritePacket( const T38_IFPPacket & pdu )
Write packet to the T38 connection

ovirtual BOOL WriteIndicator( unsigned indicator )
Write T30 indicator packet to the T38 connection

ovirtual BOOL WriteMultipleData( unsigned mode, PINDEX count, unsigned* type, const PBYTEArray* data )
Write data packet to the T38 connection

ovirtual BOOL WriteData( unsigned mode, unsigned type, const PBYTEArray & data )
Write data packet to the T38 connection

ovirtual BOOL Answer()
Handle the origination of a T38 connection

ovirtual BOOL HandlePacket( const T38_IFPPacket & pdu )
Handle incoming T38 packet.

If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL HandlePacketLost( unsigned nLost )
Handle lost T38 packets.

If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL OnIndicator( unsigned indicator )
Handle incoming T38 indicator packet. If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL OnCNG()
Handle incoming T38 CNG indicator. If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL OnCED()
Handle incoming T38 CED indicator. If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL OnPreamble()
Handle incoming T38 V21 preamble indicator. If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL OnTraining( unsigned indicator )
Handle incoming T38 data mode training indicator. If returns FALSE, then the reading loop should be terminated.

ovirtual BOOL OnData( unsigned mode, unsigned type, const PBYTEArray & data )
Handle incoming T38 data packet.

If returns FALSE, then the reading loop should be terminated.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.