#include <Shell.h>
Inherited by TcpShellClient.
Public Types | |
| enum | ClientState { CS_Idle, CS_Blocked } |
Public Member Functions | |
| ShellClient (gea::UnixFdHandle *_sockin, std::ostream *_sockout) | |
| virtual void | block ()=0 |
| virtual void | unblock ()=0 |
| virtual int | exec (int argc, char **argv)=0 |
Public Attributes | |
| gea::UnixFdHandle * | sockin |
| for reading from. and we can block on it. | |
| std::ostream * | sockout |
| use this for writing messages. | |
| enum ClientState | state |
| the current state of the client. | |
| virtual int awds::ShellClient::exec | ( | int | argc, | |
| char ** | argv | |||
| ) | [pure virtual] |
execute a command
1.5.8