Rudiments
Main Page
Classes
include
rudiments
unixsocketclient.h
1
// Copyright (c) 2002 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
9
class
unixsocketclientprivate;
10
26
class
RUDIMENTS_DLLSPEC
unixsocketclient
:
27
public
socketclient
,
private
unixsocketutil
{
28
public
:
29
31
unixsocketclient
();
32
35
unixsocketclient
(
const
unixsocketclient
&u);
36
39
unixsocketclient
&
operator=
(
const
unixsocketclient
&u);
40
42
virtual
~
unixsocketclient
();
43
44
// This convenience method that calls the initialize() and
45
// connect() methods of this class.
46
//
47
// Returns RESULT_SUCCESS on success and RESULT_ERROR
48
// on failure.
49
int32_t
connect
(
const
char
*filename,
50
int32_t timeoutsec,
51
int32_t timeoutusec,
52
uint32_t retrywait,
53
uint32_t retrycount);
54
55
56
61
void
initialize
(constnamevaluepairs *cd);
62
66
void
initialize
(
const
char
*filename,
67
int32_t timeoutsec,
68
int32_t timeoutusec,
69
uint32_t retrywait,
70
uint32_t retrycount);
71
90
int32_t
connect
();
91
94
bool
close
();
95
96
#include <rudiments/private/unixsocketclient.h>
97
};
98
99
#endif
Generated on Fri Mar 7 2014 14:08:54 for Rudiments by
1.8.3.1