ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbSCON Class Reference

#include <ngcbCON.hpp>

Inheritance diagram for ngcbSCON:
ngcbCON

Public Member Functions

 ngcbSCON (const char *name, int vb, void(*signalHandler)(int)=NULL)
 Constructor.
 
virtual ~ngcbSCON ()
 Destructor.
 
int Open ()
 Open connection.
 
void Close ()
 Close connection.
 
int SendRequest (const char *request)
 Send request.
 
const char * Reply ()
 Return reply message.
 
- Public Member Functions inherited from ngcbCON
 ngcbCON (const char *name, int vb, void(*signalHandler)(int)=NULL)
 Constructor.
 
virtual ~ngcbCON ()
 Destructor.
 
int Initialized ()
 Get initialization flag.
 
virtual void Log (const char *msg)
 Logger.
 
char * ErrMsg ()
 Return error message.
 

Additional Inherited Members

- Public Attributes inherited from ngcbCON
char server [128]
 Server name.
 
- Protected Member Functions inherited from ngcbCON
void Initialized (int flag)
 Set initialization flag.
 
virtual void Verbose (const char *format,...)
 Verbose method.
 

Detailed Description

NGC control-server interface class via socket i/o

Constructor & Destructor Documentation

◆ ngcbSCON()

ngcbSCON::ngcbSCON ( const char * name,
int vb,
void(* signalHandler )(int) = NULL )
inlineexplicit

Constructor.

◆ ~ngcbSCON()

virtual ngcbSCON::~ngcbSCON ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Close()

void ngcbSCON::Close ( )
inlinevirtual

Close connection.

Reimplemented from ngcbCON.

◆ Open()

int ngcbSCON::Open ( )
inlinevirtual

Open connection.

Reimplemented from ngcbCON.

◆ Reply()

const char * ngcbSCON::Reply ( )
inlinevirtual

Return reply message.

Reimplemented from ngcbCON.

◆ SendRequest()

int ngcbSCON::SendRequest ( const char * request)
inlinevirtual

Send request.

Reimplemented from ngcbCON.


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