ACQ2XX_API
Public Member Functions
HostdrvTransport Class Reference
Inheritance diagram for HostdrvTransport:
KddTransport Transport

Public Member Functions

 HostdrvTransport (const char *id)
 HOSTDRV doesn't handle multiple writes on one shell session, so we decorate KddTransport, to start a new session each time.
virtual STATUS acq2sh (const char *command, char *response, int maxresponse)
 run a remote shell command or query.

Detailed Description

Definition at line 228 of file KddTransport.cpp.


Constructor & Destructor Documentation

HostdrvTransport::HostdrvTransport ( const char *  id) [inline]

HOSTDRV doesn't handle multiple writes on one shell session, so we decorate KddTransport, to start a new session each time.

This is a HOSTDRV defect, but sessions are cheap on HOSTDRV..

Todo:
BEWARE: state polling can be too fast

Definition at line 235 of file KddTransport.cpp.


Member Function Documentation

virtual STATUS HostdrvTransport::acq2sh ( const char *  command,
char *  response,
int  maxresponse 
) [inline, virtual]

run a remote shell command or query.

Parameters:
command- the command (or query) to send
response- user buffer to collect response.
maxresponse- maximum response size required.
Parameters:
maxresponserun a remote shell command or query.
command- the command (or query) to send
response- user buffer to collect response.
maxresponse- maximum response size required.

Reimplemented from KddTransport.

Definition at line 239 of file KddTransport.cpp.

References KddTransport::closeShellSession(), and KddTransport::openShellSession().


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