Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TSERVERPROXY_H
Toshihiro Shimizu 890ddd
#define TSERVERPROXY_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include <string></string>
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
class TServerProxy {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  TServerProxy(const std::string hostName, int portId);
Shinya Kitaoka 120a6e
  ~TServerProxy();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  bool testConnection() const;
Shinya Kitaoka 120a6e
  int exec(int argc, char *argv[], std::string &reply);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
private:
Shinya Kitaoka 120a6e
  std::string m_hostName;
Shinya Kitaoka 120a6e
  int m_portId;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif