Logo Search packages:      
Sourcecode: t38modem version File versions  Download package

Public Types | Protected Member Functions | Protected Attributes | Private Member Functions

ModemEngineBody Class Reference

Collaboration diagram for ModemEngineBody:
Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  stResetHandle, stCommand, stConnectWait, stConnectHandle,
  stReqModeAckWait, stReqModeAckHandle, stSend, stSendBufEmptyHandle,
  stSendAckWait, stSendAckHandle, stRecvBegWait, stRecvBegHandle,
  stRecv
}
enum  { cdUndefined, cdOutgoing, cdIncoming }
enum  { chEvent, chDelay, chHandle }

Public Member Functions

Construction
 ModemEngineBody (ModemEngine &_parent, const PNotifier &_callbackEndPoint)
 ~ModemEngineBody ()
Operations
BOOL Request (PStringToString &request)
BOOL Attach (T38Engine *_t38engine)
void Detach (T38Engine *_t38engine)
void HandleData (const PBYTEArray &buf, PBYTEArray &bresp)
void CheckState (PBYTEArray &bresp)
BOOL IsReady () const
BOOL isOutBufFull () const

Protected Member Functions

void _ClearCall ()
void ClearCall ()
r n CONNECT r n NO CARRIER r n
CONNECT r n 
DeclareResultCode (RC_NO_DIALTONE,"6\r","NO DIALTONE\r\n") DeclareResultCode(RC_BUSY
r n CONNECT r n NO CARRIER r n
CONNECT r n BUSY r n 
DeclareResultCode (RC_NO_ANSWER,"8\r","NO ANSWER\r\n") DeclareResultCode(RC_RINGING
r n DeclareResultCode (RC_OK,"0\r","OK\r\n") DeclareResultCode(RC_CONNECT
r n CONNECT r n DeclareResultCode (RC_RING,"2\r","RING\r\n") DeclareResultCode(RC_NO_CARRIER
r n CONNECT r n NO CARRIER r n DeclareResultCode (RC_ERROR,"4\r","ERROR\r\n") DeclareResultCode(RC_CONNECT_1200
 DeclareStringParam (CallToken) DeclareStringParam(SrcNum) DeclareStringParam(DstNum) DeclareResultCode(RC_PREF
BOOL Echo () const
BOOL HandleClass1Cmd (const char **ppCmd, PString &resp, BOOL &ok, BOOL &crlf)
void HandleCmd (const PString &cmd, PString &resp)
int NextSeq ()
 PDECLARE_NOTIFIER (PObject, ModemEngineBody, OnMyCallback)
BOOL RecvStart (int _dataType, int br)
void ResetDleData ()
BOOL SendStart (int _dataType, int br, PString &resp)

Protected Attributes

const PNotifier callbackEndPoint
int callDirection
PString cmd
BOOL connectionEstablished
PINDEX dataCount
int dataType
DLEData dleData
FCS fcs
BOOL forceFaxMode
PTime lastPtyActivity
BOOL moreFrames
PMutex Mutex
const PNotifier myCallback
Profile P
int param
ModemEngineparent
Profile Profiles [1]
r n CONNECT r n NO CARRIER r n r
r n CONNECT r n NO CARRIER r n
CONNECT r n BUSY r n 
r
r n CONNECT r n NO CARRIER r n
CONNECT r n 
r
r n CONNECT r n r
r n r
int seq
int state
T38Enginet38engine
Timeout timeout
Timeout timerRing

Private Member Functions

 PCLASSINFO (ModemEngineBody, PObject)

Detailed Description

Definition at line 338 of file pmodeme.cxx.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index