Rudiments
/home/dmuse/src/rudiments/include/rudiments/client.h
00001 // Copyright (c) 2002 David Muse
00002 // See the COPYING file for more information.
00003 
00004 #ifndef RUDIMENTS_CLIENT_H
00005 #define RUDIMENTS_CLIENT_H
00006 
00007 #include <rudiments/private/clientincludes.h>
00008 
00009 #ifdef RUDIMENTS_NAMESPACE
00010 namespace rudiments {
00011 #endif
00012 
00013 class clientprivate;
00014 
00017 class RUDIMENTS_DLLSPEC client : public filedescriptor {
00018         public:
00020                 client();
00021 
00024                 client(const client &c);
00025 
00028                 client  &operator=(const client &c);
00029 
00031                 virtual ~client();
00032 
00036                 virtual void    initialize(constnamevaluepairs *cd)=0;
00037 
00046                 virtual int32_t connect()=0;
00047 
00051                 virtual const char      *getVerboseConnectError();
00052 
00054                 virtual void    setVerboseConnectError(const char *error);
00055 
00056         #include <rudiments/private/client.h>
00057 };
00058 
00059 #ifdef RUDIMENTS_NAMESPACE
00060 }
00061 #endif
00062 
00063 #endif