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

Public Member Functions

 WxSshClient (bool spawnThread, std::string gateway="data.ovro.caltech.edu", std::string host="cbassdaq.cm.pvt", unsigned short port=Ports::wxPort("cbass"))
 
virtual ~WxSshClient ()
 
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 ()
 

Protected Member Functions

virtual void readServerData (NetHandler &handler)
 
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 ()
 
virtual void reportError ()
 
- Protected Member Functions inherited from gcp::util::Runnable
virtual void broadcastReady ()
 
void spawn (void *arg)
 

Protected Attributes

WxData40m wxData_
 
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_
 

Additional Inherited Members

- Static Public Member Functions inherited from gcp::util::Runnable
static THREAD_START (startUp)
 
- 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)
 

Constructor & Destructor Documentation

WxSshClient::WxSshClient ( bool  spawnThread,
std::string  gateway = "data.ovro.caltech.edu",
std::string  host = "cbassdaq.cm.pvt",
unsigned short  port = Ports::wxPort("cbass") 
)

Constructors

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

WxSshClient::~WxSshClient ( )
virtual

Destructor.

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

Member Function Documentation

void WxSshClient::initialize ( bool  spawnThread)

....................................................................... Initialize network container sizes and start up this thread if requested to


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