GATE
gate::net::SshCommandChannel Class Reference
Inheritance diagram for gate::net::SshCommandChannel:
gate::NonCopyable

Public Member Functions

 SshCommandChannel (SshClientRef const &connectedClient)
 
void execute (String const &command)
 
bool_t canRead (enumint_t streamType=StreamType_Default)
 
size_t read (char *buffer, gate_size_t capacity, enumint_t streamType=StreamType_Default)
 
size_t write (char const *buffer, gate_size_t length, enumint_t streamType=StreamType_Default)
 
bool eof ()
 
void sendEof ()
 
void waitEof ()
 
void setEnv (String const &name, String const &value)
 
void getExitSignal (String *signal=NULL, String *errmsg=NULL, String *langtag=NULL)
 
int getExitStatus ()
 

Static Public Attributes

static enumint_t const StreamType_Default = GATE_SSHCLIENT_STREAMTYPE_DEFAULT
 
static enumint_t const StreamType_Error = GATE_SSHCLIENT_STREAMTYPE_ERROR
 

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