|
| SshClient (bool spawn, std::string gateway, std::string host, unsigned connectPort, unsigned readBufSize=0, unsigned sendBufSize=0) |
|
virtual | ~SshClient () |
|
void | run () |
|
void | setReadBufSize (unsigned size) |
|
void | setSendBufSize (unsigned size) |
|
| Runnable (bool spawnThread, RUN_FN(*runFn)) |
|
| Runnable (bool spawnThread, RUN_FN(*runFn), int priority) |
|
virtual | ~Runnable () |
|
void | blockForever () |
|
void | spawn () |
|
|
virtual void | readServerData (NetHandler &handler) |
|
void | sendServerData (NetDat &dat) |
|
void | initMembers (std::string gateway, std::string host, unsigned port, unsigned readBufSize, unsigned sendBufSize) |
|
void | connect () |
|
void | disconnect () |
|
virtual void | reportError () |
|
virtual void | broadcastReady () |
|
void | spawn (void *arg) |
|
|
static | RUN_FN (runFn) |
|
static | NET_READ_HANDLER (readHandler) |
|
static | NET_SEND_HANDLER (sendHandler) |
|
static | NET_ERROR_HANDLER (errHandler) |
|
SshClient::SshClient |
( |
bool |
spawnThread, |
|
|
std::string |
gateway, |
|
|
std::string |
host, |
|
|
unsigned |
port, |
|
|
unsigned |
readBufSize = 0 , |
|
|
unsigned |
sendBufSize = 0 |
|
) |
| |
Constructor.
....................................................................... Constructor.
SshClient::~SshClient |
( |
| ) |
|
|
virtual |
Destructor.
....................................................................... Destructor.
void SshClient::run |
( |
void |
| ) |
|
Block in select
....................................................................... Block in select
void SshClient::sendServerData |
( |
NetDat & |
dat | ) |
|
|
protected |
....................................................................... Send data to the server
The documentation for this class was generated from the following files:
- gcpCbass/util/common/SshClient.h
- gcpCbass/util/common/SshClient.cc