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
21
class
RUDIMENTS_DLLSPEC
unixsocketclient
:
22
public
socketclient
,
private
unixsocketutil
{
23
public
:
24
26
unixsocketclient
();
27
30
unixsocketclient
(
const
unixsocketclient
&u);
31
34
unixsocketclient
&
operator=
(
const
unixsocketclient
&u);
35
37
virtual
~
unixsocketclient
();
38
39
// This convenience method that calls the initialize() and
40
// connect() methods of this class.
41
//
42
// Returns RESULT_SUCCESS on success and RESULT_ERROR
43
// on failure.
44
int32_t
connect
(
const
char
*filename,
45
int32_t timeoutsec,
46
int32_t timeoutusec,
47
uint32_t retrywait,
48
uint32_t retrycount);
49
50
51
56
void
initialize
(constnamevaluepairs *cd);
57
61
void
initialize
(
const
char
*filename,
62
int32_t timeoutsec,
63
int32_t timeoutusec,
64
uint32_t retrywait,
65
uint32_t retrycount);
66
85
int32_t
connect
();
86
87
#include <rudiments/private/unixsocketclient.h>
88
};
89
90
#endif
Generated on Sun Dec 15 2013 02:23:37 for Rudiments by
1.8.3.1