Rudiments
client.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_CLIENT_H
5 #define RUDIMENTS_CLIENT_H
6 
7 #include <rudiments/private/clientincludes.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 class clientprivate;
14 
17 class RUDIMENTS_DLLSPEC client : public filedescriptor {
18  public:
20  client();
21 
24  client(const client &c);
25 
28  client &operator=(const client &c);
29 
31  virtual ~client();
32 
36  virtual void initialize(constnamevaluepairs *cd)=0;
37 
46  virtual int32_t connect()=0;
47 
51  virtual const char *getVerboseConnectError();
52 
54  virtual void setVerboseConnectError(const char *error);
55 
56  #include <rudiments/private/client.h>
57 };
58 
59 #ifdef RUDIMENTS_NAMESPACE
60 }
61 #endif
62 
63 #endif