Rudiments
client.h
1// Copyright (c) 1999-2018 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
11class RUDIMENTS_DLLSPEC client : public filedescriptor {
12 public:
15
17 virtual ~client();
18
22 virtual void setParameters(
24
30 void setTimeoutSeconds(int32_t timeoutsec);
31
38 void setTimeoutMicroseconds(int32_t timeoutusec);
39
44 void setRetryWait(uint32_t retrywait);
45
52 void setTries(uint32_t tries);
53
59 void setVerboseConnectError(const char *error);
60
64
69
72 uint32_t getRetryWait();
73
76 uint32_t getTries();
77
80
91 virtual int32_t connect();
92
93 #include <rudiments/private/client.h>
94};
95
96#endif
Definition client.h:11
void setTimeoutSeconds(int32_t timeoutsec)
int32_t getTimeoutMicroseconds()
void setTries(uint32_t tries)
void setRetryWait(uint32_t retrywait)
uint32_t getRetryWait()
int32_t getTimeoutSeconds()
virtual ~client()
void setTimeoutMicroseconds(int32_t timeoutusec)
uint32_t getTries()
const char * getVerboseConnectError()
void setVerboseConnectError(const char *error)
virtual int32_t connect()
virtual void setParameters(dictionary< const char *, const char * > *cd)
Definition dictionary.h:12
Definition error.h:10
Definition filedescriptor.h:13