blob: 249afe5197ee9e621256574f45fd9453314b1848 [file] [log] [blame]
Mark Sleee8540632006-05-30 09:24:40 +00001#ifndef T_SIMPLE_CLIENT_H
2#define T_SIMPLE_CLIENT_H
3
4#include "client/TClient.h"
5#include "transport/TTransport.h"
6
7class TSimpleClient : public TClient {
8 public:
9 TSimpleClient(TTransport* transport);
10 ~TSimpleClient() {}
11
12 bool open();
13 void close();
14 std::string dispatch(const std::string& in);
15
16 protected:
17 TTransport* transport_;
18};
19
20#endif
21