Files
cdev-1.7.2n/extensions/CLIPService/CLIPService.h
2022-12-13 12:44:04 +01:00

25 lines
1.1 KiB
C++

#include <cdevClientService.h>
// *****************************************************************************
// * newCLIPService :
// * This function will be called by the cdevSystem object to create an
// * initial instance of the CLIPService.
// *****************************************************************************
extern "C" cdevService * newCLIPService ( char * name, cdevSystem * system );
// *****************************************************************************
// * class CLIPService :
// * This class simply inherits from the cdevClientService and must define
// * only a constructor and destructor.
// *****************************************************************************
class CLIPService : public cdevClientService
{
public:
CLIPService ( char * name, cdevSystem & system = cdevSystem::defaultSystem());
virtual ServerHandler * connect ( char * server, char * host = NULL, short port = 0 );
virtual int getRequestObject ( char * device, char * message, cdevRequestObject * &req);
protected:
virtual ~CLIPService ( void ) {};
};