#include <FtpPI.h>
Public Member Functions | |
| FtpPI () | |
| virtual | ~FtpPI () |
| OStatus | Initialize (const OID &myoid, const antStackRef &ipstack, void *index, OList< Passwd, MAX_LOGIN > *pass) |
| void | ListenCont (TCPEndpointListenMsg *listenMsg) |
| void | SendCont (TCPEndpointSendMsg *sendMsg) |
| void | ReceiveCont (TCPEndpointReceiveMsg *receiveMsg) |
| void | CloseCont (TCPEndpointCloseMsg *closeMsg) |
| void | ListenContforDTP (TCPEndpointListenMsg *listenMsg) |
| void | ConnectContforDTP (TCPEndpointConnectMsg *connectMsg) |
| void | SendContforDTP (TCPEndpointSendMsg *sendMsg) |
| void | ReceiveContforDTP (TCPEndpointReceiveMsg *receiveMsg) |
| void | CloseContforDTP (TCPEndpointCloseMsg *closeMsg) |
| OStatus | Close () |
Private Member Functions | |
| OStatus | Listen () |
| OStatus | Send (FTPReplyCode, char *format,...) |
| OStatus | Receive () |
| bool | RequestComplete () |
| bool | RequestProcess () |
| bool | CommandParser (char **cmd, char **param) |
Private Attributes | |
| OID | myOID |
| antStackRef | ipstackRef |
| void * | continuation |
| TCPConnection | connection |
| FTPLoginState | state |
| FtpDTP | ftpDTP |
| IPAddress | ipaddr |
| OList< Passwd, MAX_LOGIN > * | passwd |
|
|
|
|
|
|
|
|
Definition at line 241 of file FtpPI.cc. References FtpDTP::Close(), connection, CONNECTION_CLOSED, TCPConnection::endpoint, ftpDTP, ipstackRef, myOID, and TCPConnection::state. Referenced by TinyFTPD::DoStop(), ListenCont(), ReceiveCont(), RequestProcess(), and SendCont(). |
|
|
Definition at line 261 of file FtpPI.cc. References connection, Listen(), and TCPConnection::state. Referenced by TinyFTPD::CloseContforPI(). |
|
|
Definition at line 343 of file FtpPI.cc. References FtpDTP::CloseCont(), and ftpDTP. Referenced by TinyFTPD::CloseContforDTP(). |
|
||||||||||||
|
Definition at line 32 of file FtpRequest.cc. References connection, and TCPConnection::recvData. Referenced by RequestProcess(). |
|
|
Definition at line 292 of file FtpPI.cc. References FtpDTP::ConnectCont(), FTP_DATA_A, FTP_DATA_I, FTP_REPLY_OPEN_CONNECTION, ftpDTP, FtpDTP::GetFilename(), FtpDTP::GetType(), and Send(). Referenced by TinyFTPD::ConnectContforDTP(). |
|
||||||||||||||||||||
|
Definition at line 23 of file FtpPI.cc. References byte, connection, continuation, FTP_BUFFER_SIZE, ftpDTP, FtpDTP::Initialize(), ipstackRef, Listen(), myOID, passwd, TCPConnection::recvBuffer, TCPConnection::recvData, TCPConnection::sendBuffer, TCPConnection::sendData, TCPConnection::state, and state. Referenced by TinyFTPD::DoStart(). |
|
|
Definition at line 79 of file FtpPI.cc. References connection, continuation, TCPConnection::endpoint, FTP_BUFFER_SIZE, FTP_LISTEN_PORT, IP_ADDR_ANY(), ipstackRef, myOID, and TCPConnection::state. Referenced by CloseCont(), and Initialize(). |
|
|
Definition at line 117 of file FtpPI.cc. References Close(), connection, FTP_REPLY_SERVICE_READY, ipaddr, Receive(), TCPConnection::recvSize, Send(), and TCPConnection::state. Referenced by TinyFTPD::ListenContforPI(). |
|
|
Definition at line 270 of file FtpPI.cc. References FTP_DATA_A, FTP_DATA_I, FTP_REPLY_OPEN_CONNECTION, ftpDTP, FtpDTP::GetFilename(), FtpDTP::GetType(), FtpDTP::ListenCont(), and Send(). Referenced by TinyFTPD::ListenContforDTP(). |
|
|
Definition at line 186 of file FtpPI.cc. References connection, CONNECTION_CONNECTED, TCPConnection::endpoint, FTP_BUFFER_SIZE, ipstackRef, myOID, TCPConnection::recvData, and TCPConnection::state. Referenced by ListenCont(), ReceiveCont(), ReceiveContforDTP(), RequestProcess(), and SendContforDTP(). |
|
|
Definition at line 204 of file FtpPI.cc. References Close(), connection, Receive(), TCPConnection::recvSize, RequestComplete(), and RequestProcess(). Referenced by TinyFTPD::ReceiveContforPI(). |
|
|
Definition at line 329 of file FtpPI.cc. References connection, FTP_REPLY_CLOSE_DATA, FTP_REPLY_TRANSFER_ABORT, ftpDTP, FtpDTP::GetState(), Receive(), FtpDTP::ReceiveCont(), TCPConnection::recvSize, and Send(). Referenced by TinyFTPD::ReceiveContforDTP(). |
|
|
Definition at line 17 of file FtpRequest.cc. References connection, TCPConnection::recvData, and TCPConnection::recvSize. Referenced by ReceiveCont(). |
|
|
||||||||||||||||
|
Definition at line 142 of file FtpPI.cc. References connection, TCPConnection::endpoint, ipstackRef, myOID, TCPConnection::sendData, TCPConnection::sendSize, and TCPConnection::state. Referenced by ConnectContforDTP(), ListenCont(), ListenContforDTP(), ReceiveContforDTP(), RequestProcess(), and SendContforDTP(). |
|
|
Definition at line 170 of file FtpPI.cc. References Close(), connection, and TCPConnection::state. Referenced by TinyFTPD::SendContforPI(). |
|
|
Definition at line 315 of file FtpPI.cc. References connection, FTP_REPLY_CLOSE_DATA, FTP_REPLY_TRANSFER_ABORT, ftpDTP, FtpDTP::GetState(), Receive(), TCPConnection::recvSize, Send(), and FtpDTP::SendCont(). Referenced by TinyFTPD::SendContforDTP(). |
|
|
Definition at line 56 of file FtpPI.h. Referenced by Close(), CloseCont(), CommandParser(), Initialize(), Listen(), ListenCont(), Receive(), ReceiveCont(), ReceiveContforDTP(), RequestComplete(), RequestProcess(), Send(), SendCont(), and SendContforDTP(). |
|
|
Definition at line 55 of file FtpPI.h. Referenced by Initialize(), and Listen(). |
|
|
Definition at line 58 of file FtpPI.h. Referenced by Close(), CloseContforDTP(), ConnectContforDTP(), Initialize(), ListenContforDTP(), ReceiveContforDTP(), RequestProcess(), and SendContforDTP(). |
|
|
Definition at line 59 of file FtpPI.h. Referenced by ListenCont(), and RequestProcess(). |
|
|
Definition at line 54 of file FtpPI.h. Referenced by Close(), Initialize(), Listen(), Receive(), RequestProcess(), and Send(). |
|
|
Definition at line 53 of file FtpPI.h. Referenced by Close(), Initialize(), Listen(), Receive(), RequestProcess(), and Send(). |
|
|
Definition at line 61 of file FtpPI.h. Referenced by Initialize(), and RequestProcess(). |
|
|
Definition at line 57 of file FtpPI.h. Referenced by Initialize(), and RequestProcess(). |
1.3.9.1