#include <t38proto.h>
Public Member Functions | |
OpalTransport * | GetTransport () const |
void | SetTransport (OpalTransport *transport, BOOL autoDelete=TRUE) |
Construction | |
OpalT38Protocol () | |
~OpalT38Protocol () | |
Operations | |
virtual void | Close () |
virtual BOOL | Originate () |
virtual BOOL | WritePacket (const T38_IFPPacket &pdu) |
virtual BOOL | WriteIndicator (unsigned indicator) |
virtual BOOL | WriteMultipleData (unsigned mode, PINDEX count, unsigned *type, const PBYTEArray *data) |
virtual BOOL | WriteData (unsigned mode, unsigned type, const PBYTEArray &data) |
virtual BOOL | Answer () |
virtual BOOL | HandlePacket (const T38_IFPPacket &pdu) |
virtual BOOL | HandlePacketLost (unsigned nLost) |
virtual BOOL | OnIndicator (unsigned indicator) |
virtual BOOL | OnCNG () |
virtual BOOL | OnCED () |
virtual BOOL | OnPreamble () |
virtual BOOL | OnTraining (unsigned indicator) |
virtual BOOL | OnData (unsigned mode, unsigned type, const PBYTEArray &data) |
Protected Member Functions | |
BOOL | HandleRawIFP (const PASN_OctetString &pdu) |
Protected Attributes | |
OpalTransport * | transport |
BOOL | autoDeleteTransport |
BOOL | corrigendumASN |
unsigned | indicatorRedundancy |
unsigned | lowSpeedRedundancy |
unsigned | highSpeedRedundancy |
int | lastSentSequenceNumber |
PList< PBYTEArray > | redundantIFPs |
|
Create a new protocol handler. |
|
Destroy the protocol handler. |
|
Handle the origination of a T.38 connection. |
|
This is called to clean up any threads on connection termination. |
|
|
|
Handle incoming T.38 packet. If returns FALSE, then the reading loop should be terminated. |
|
Handle lost T.38 packets. If returns FALSE, then the reading loop should be terminated. |
|
|
|
Handle incoming T.38 CED indicator. If returns FALSE, then the reading loop should be terminated. |
|
Handle incoming T.38 CNG indicator. If returns FALSE, then the reading loop should be terminated. |
|
Handle incoming T.38 data packet. If returns FALSE, then the reading loop should be terminated. |
|
Handle incoming T.38 indicator packet. If returns FALSE, then the reading loop should be terminated. |
|
Handle incoming T.38 V.21 preamble indicator. If returns FALSE, then the reading loop should be terminated. |
|
Handle incoming T.38 data mode training indicator. If returns FALSE, then the reading loop should be terminated. |
|
Handle the origination of a T.38 connection. An application would normally override this. The default just sends "heartbeat" T.30 no signal indicator. |
|
|
|
Write data packet to the T.38 connection. |
|
Write T.30 indicator packet to the T.38 connection. |
|
Write data packet to the T.38 connection. |
|
Write packet to the T.38 connection. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|