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 class clientprivate;
10 
13 class RUDIMENTS_DLLSPEC client : public filedescriptor {
14  public:
16  client();
17 
20  client(const client &c);
21 
24  client &operator=(const client &c);
25 
27  virtual ~client();
28 
32  virtual void initialize(constnamevaluepairs *cd)=0;
33 
42  virtual int32_t connect()=0;
43 
47  virtual const char *getVerboseConnectError();
48 
50  virtual void setVerboseConnectError(const char *error);
51 
52  #include <rudiments/private/client.h>
53 };
54 
55 #endif