#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 ) {};
};
