Rudiments: /home/dmuse/temp/rudiments/include/rudiments/unixsocketclient.h Source File

Rudiments

unixsocketclient.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_UNIXSOCKETCLIENT_H
5 #define RUDIMENTS_UNIXSOCKETCLIENT_H
6
7 #include <rudiments/private/unixsocketclientincludes.h>
8
24 class RUDIMENTS_DLLSPEC unixsocketclient :
25 public socketclient, private unixsocketutil {
26 public:
27
29 unixsocketclient();
30
33 unixsocketclient(const unixsocketclient &u);
34
37 unixsocketclient &operator=(const unixsocketclient &u);
38
40 virtual ~unixsocketclient();
41
42 // This convenience method that calls the initialize() and
43 // connect() methods of this class.
44 //
45 // Returns RESULT_SUCCESS on success and RESULT_ERROR
46 // on failure.
47 int32_t connect(const char *filename,
48 int32_t timeoutsec,
49 int32_t timeoutusec,
50 uint32_t retrywait,
51 uint32_t tries);
52
53
54
59 void initialize(constnamevaluepairs *cd);
60
64 void initialize(const char *filename,
65 int32_t timeoutsec,
66 int32_t timeoutusec,
67 uint32_t retrywait,
68 uint32_t tries);
69
89 int32_t connect();
90
93 bool close();
94
95 #include <rudiments/private/unixsocketclient.h>
96 };
97
98 #endif
client::connect
virtual int32_t connect()
socketclient
Definition: socketclient.h:11
unixsocketclient
Definition: unixsocketclient.h:25
unixsocketclient::close
bool close()
unixsocketclient::operator=
unixsocketclient & operator=(const unixsocketclient &u)
unixsocketclient::unixsocketclient
unixsocketclient()
unixsocketclient::initialize
void initialize(const char *filename, int32_t timeoutsec, int32_t timeoutusec, uint32_t retrywait, uint32_t tries)
unixsocketclient::initialize
void initialize(constnamevaluepairs *cd)
unixsocketclient::~unixsocketclient
virtual ~unixsocketclient()
unixsocketclient::unixsocketclient
unixsocketclient(const unixsocketclient &u)
unixsocketclient::connect
int32_t connect()
unixsocketutil
Definition: unixsocketutil.h:11