awds::ShellClient Class Reference

interaction object of a shell client More...

#include <Shell.h>

Inherited by TcpShellClient.

List of all members.

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.


Detailed Description

interaction object of a shell client

Member Enumeration Documentation

used to represent the current state of a client.

Enumerator:
CS_Idle  the client is idle.
CS_Blocked  the client is blocked.


Member Function Documentation

virtual int awds::ShellClient::exec ( int  argc,
char **  argv 
) [pure virtual]

execute a command


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

Generated on Fri Mar 27 13:58:26 2009 for AWDS by  doxygen 1.5.8