My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::mediator::TipperSshClient Class Reference
Inheritance diagram for gcp::mediator::TipperSshClient:
gcp::util::TipperSshClient gcp::util::SshClient gcp::util::Runnable

Public Member Functions

 TipperSshClient (gcp::util::RegMapDataFrameManager *share, std::string gateway="bicep", std::string host="bicep3", unsigned short port=gcp::util::Ports::tipperPort("bicep"))
 
virtual ~TipperSshClient ()
 
void readServerData (gcp::util::NetHandler &handler)
 
void reportError ()
 
- Public Member Functions inherited from gcp::util::TipperSshClient
 TipperSshClient (bool spawnThread, std::string gateway="bicep", std::string host="bicep3", unsigned short port=Ports::tipperPort("bicep"))
 
void initialize (bool spawnThread)
 
- Public Member Functions inherited from gcp::util::SshClient
 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)
 
- Public Member Functions inherited from gcp::util::Runnable
 Runnable (bool spawnThread, RUN_FN(*runFn))
 
 Runnable (bool spawnThread, RUN_FN(*runFn), int priority)
 
virtual ~Runnable ()
 
void blockForever ()
 
void spawn ()
 

Additional Inherited Members

- Static Public Member Functions inherited from gcp::util::Runnable
static THREAD_START (startUp)
 
- Protected Member Functions inherited from gcp::util::TipperSshClient
virtual void processServerData ()
 
- Protected Member Functions inherited from gcp::util::SshClient
void sendServerData (NetDat &dat)
 
void initMembers (std::string gateway, std::string host, unsigned port, unsigned readBufSize, unsigned sendBufSize)
 
void connect ()
 
void disconnect ()
 
- Protected Member Functions inherited from gcp::util::Runnable
virtual void broadcastReady ()
 
void spawn (void *arg)
 
- Static Protected Member Functions inherited from gcp::util::SshClient
static RUN_FN (runFn)
 
static NET_READ_HANDLER (readHandler)
 
static NET_SEND_HANDLER (sendHandler)
 
static NET_ERROR_HANDLER (errHandler)
 
- Protected Attributes inherited from gcp::util::TipperSshClient
TipperData tipperData_
 
std::vector< unsigned char > bytes_
 
- Protected Attributes inherited from gcp::util::SshClient
TimeVal timeOut_
 
struct timeval * timeOutPtr_
 
SshTunnel tunnel_
 
std::string gateway_
 
std::string host_
 
unsigned short port_
 
bool stop_
 
TcpClient tcp_
 
NetHandler handler_
 
FdSet fdSet_
 
- Protected Attributes inherited from gcp::util::Runnable
ThreadspawnedThread_
 
bool spawned_
 
RUN_FN * runFn_
 

Constructor & Destructor Documentation

TipperSshClient::TipperSshClient ( gcp::util::RegMapDataFrameManager share,
std::string  gateway = "bicep",
std::string  host = "bicep3",
unsigned short  port = gcp::util::Ports::tipperPort("bicep") 
)

Constructors

....................................................................... Constructors

TipperSshClient::~TipperSshClient ( )
virtual

Destructor.

....................................................................... Destructor.

Reimplemented from gcp::util::TipperSshClient.

Member Function Documentation

void TipperSshClient::readServerData ( gcp::util::NetHandler handler)
virtual

....................................................................... Method called when data have been completely read from the server

Reimplemented from gcp::util::TipperSshClient.


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