Module to simulate FTP users.
Inheritance:
Public Fields
-
static const int NUMSTATES
- number of possible values of state_t
Public Methods
-
robouser_t(Platoon* platoon)
- Constructor is public, but only Platoon::startUser should call it.
-
int start(int usernum)
- Start an already-allocated robouser on its tiny-brained way.
-
void shutDown()
- Shut down the fcp connection.
Public Members
-
enum state_t
- stages in a robot's life cycle.
Public Methods
-
virtual int handle_data_io(int fd, short revents, clock_t now)
-
virtual void ftpCmdDone(int xerr, int status, const char* statusbuf)
-
virtual int getID(void)
Documentation
Module to simulate FTP users.
- enum state_t
- stages in a robot's life cycle.
Order is extremely important; see Platoon::sumInState() and
Platoon::startUser(), which assume any state between CONNECT and
GETTING (numerically) is alive...
- static const int NUMSTATES
- number of possible values of state_t
- robouser_t(Platoon* platoon)
-
Constructor is public, but only Platoon::startUser should call it.
- int start(int usernum)
-
Start an already-allocated robouser on its tiny-brained way.
usernum is the index of this object in an outer container.
Returns 0 on success, Unix error code on failure.
- void shutDown()
-
Shut down the fcp connection.
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.