TinyFTPD Class Reference

#include <TinyFTPD.h>

List of all members.

Public Member Functions

 TinyFTPD ()
virtual ~TinyFTPD ()
virtual OStatus DoInit (const OSystemEvent &event)
virtual OStatus DoStart (const OSystemEvent &event)
virtual OStatus DoStop (const OSystemEvent &event)
virtual OStatus DoDestroy (const OSystemEvent &event)
void ListenContforPI (ANTENVMSG msg)
void SendContforPI (ANTENVMSG msg)
void ReceiveContforPI (ANTENVMSG msg)
void CloseContforPI (ANTENVMSG msg)
void ListenContforDTP (ANTENVMSG msg)
void ConnectContforDTP (ANTENVMSG msg)
void SendContforDTP (ANTENVMSG msg)
void ReceiveContforDTP (ANTENVMSG msg)
void CloseContforDTP (ANTENVMSG msg)

Public Attributes

OSubject * subject [numOfSubject]
OObserver * observer [numOfObserver]

Private Member Functions

OStatus LoadPasswd ()
OStatus Load (char *path, byte **data, size_t *size)

Private Attributes

antStackRef ipstackRef
FtpPI ftpPI [FTP_CONNECTION_MAX]
OList< Passwd, MAX_LOGIN > passwd


Constructor & Destructor Documentation

TinyFTPD::TinyFTPD  ) 
 

Definition at line 18 of file TinyFTPD.cc.

virtual TinyFTPD::~TinyFTPD  )  [inline, virtual]
 

Definition at line 27 of file TinyFTPD.h.


Member Function Documentation

void TinyFTPD::CloseContforDTP ANTENVMSG  msg  ) 
 

Definition at line 148 of file TinyFTPD.cc.

References FtpPI::CloseContforDTP(), and ftpPI.

void TinyFTPD::CloseContforPI ANTENVMSG  msg  ) 
 

Definition at line 98 of file TinyFTPD.cc.

References FtpPI::CloseCont(), and ftpPI.

void TinyFTPD::ConnectContforDTP ANTENVMSG  msg  ) 
 

Definition at line 118 of file TinyFTPD.cc.

References FtpPI::ConnectContforDTP(), and ftpPI.

OStatus TinyFTPD::DoDestroy const OSystemEvent &  event  )  [virtual]
 

Definition at line 62 of file TinyFTPD.cc.

OStatus TinyFTPD::DoInit const OSystemEvent &  event  )  [virtual]
 

Definition at line 23 of file TinyFTPD.cc.

OStatus TinyFTPD::DoStart const OSystemEvent &  event  )  [virtual]
 

Definition at line 30 of file TinyFTPD.cc.

References ftpPI, FtpPI::Initialize(), ipstackRef, LoadPasswd(), and passwd.

OStatus TinyFTPD::DoStop const OSystemEvent &  event  )  [virtual]
 

Definition at line 52 of file TinyFTPD.cc.

References FtpPI::Close(), and ftpPI.

void TinyFTPD::ListenContforDTP ANTENVMSG  msg  ) 
 

Definition at line 108 of file TinyFTPD.cc.

References ftpPI, and FtpPI::ListenContforDTP().

void TinyFTPD::ListenContforPI ANTENVMSG  msg  ) 
 

Definition at line 69 of file TinyFTPD.cc.

References ftpPI, and FtpPI::ListenCont().

OStatus TinyFTPD::Load char *  path,
byte **  data,
size_t *  size
[private]
 

Definition at line 205 of file TinyFTPD.cc.

References byte.

Referenced by LoadPasswd().

OStatus TinyFTPD::LoadPasswd  )  [private]
 

Definition at line 158 of file TinyFTPD.cc.

References byte, DeleteRegion(), FTP_PASSWD_PATH, Passwd::home, Load(), Passwd::pass, passwd, and Passwd::user.

Referenced by DoStart().

void TinyFTPD::ReceiveContforDTP ANTENVMSG  msg  ) 
 

Definition at line 138 of file TinyFTPD.cc.

References ftpPI, and FtpPI::ReceiveContforDTP().

void TinyFTPD::ReceiveContforPI ANTENVMSG  msg  ) 
 

Definition at line 88 of file TinyFTPD.cc.

References ftpPI, and FtpPI::ReceiveCont().

void TinyFTPD::SendContforDTP ANTENVMSG  msg  ) 
 

Definition at line 128 of file TinyFTPD.cc.

References ftpPI, and FtpPI::SendContforDTP().

void TinyFTPD::SendContforPI ANTENVMSG  msg  ) 
 

Definition at line 79 of file TinyFTPD.cc.

References ftpPI, and FtpPI::SendCont().


Member Data Documentation

FtpPI TinyFTPD::ftpPI[FTP_CONNECTION_MAX] [private]
 

Definition at line 52 of file TinyFTPD.h.

Referenced by CloseContforDTP(), CloseContforPI(), ConnectContforDTP(), DoStart(), DoStop(), ListenContforDTP(), ListenContforPI(), ReceiveContforDTP(), ReceiveContforPI(), SendContforDTP(), and SendContforPI().

antStackRef TinyFTPD::ipstackRef [private]
 

Definition at line 51 of file TinyFTPD.h.

Referenced by DoStart().

OObserver* TinyFTPD::observer[numOfObserver]
 

Definition at line 30 of file TinyFTPD.h.

OList<Passwd, MAX_LOGIN> TinyFTPD::passwd [private]
 

Definition at line 54 of file TinyFTPD.h.

Referenced by DoStart(), and LoadPasswd().

OSubject* TinyFTPD::subject[numOfSubject]
 

Definition at line 29 of file TinyFTPD.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:35 2007 for openSDK by  doxygen 1.3.9.1