/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   XreateServer.h
 * Author: pgess
 *
 * Created on March 29, 2016, 11:43 AM
 */

#ifndef XREATESERVER_H
#define XREATESERVER_H

#include "AbstractXreateServer.h"

class  XreateServer: public AbstractXreateServerIf {
 public:
    XreateServer();
    virtual void ping(std::string& _return, const std::string& text);
    virtual void checkSyntax(SyntaxCheckResult& _return, const std::string& program);
};

class XreateServerFactory : virtual public AbstractXreateServerIfFactory {
 public:
    virtual ~XreateServerFactory();
    virtual AbstractXreateServerIf* getHandler(const ::apache::thrift::TConnectionInfo& connInfo);
    virtual void releaseHandler(AbstractXreateServerIf* handler);
};

#endif /* XREATESERVER_H */

