unixsocketclient.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_UNIXSOCKETCLIENT_H
#define RUDIMENTS_UNIXSOCKETCLIENT_H
#include <rudiments/private/unixsocketclientincludes.h>
class RUDIMENTS_DLLSPEC unixsocketclient :
public socketclient, private unixsocketutil {
public:
unixsocketclient();
unixsocketclient(const unixsocketclient &u);
unixsocketclient &operator=(const unixsocketclient &u);
virtual ~unixsocketclient();
// This convenience method that calls the initialize() and
// connect() methods of this class.
//
// Returns RESULT_SUCCESS on success and RESULT_ERROR
// on failure.
int32_t connect(const char *filename,
int32_t timeoutsec,
int32_t timeoutusec,
uint32_t retrywait,
uint32_t tries);
void initialize(constnamevaluepairs *cd);
void initialize(const char *filename,
int32_t timeoutsec,
int32_t timeoutusec,
uint32_t retrywait,
uint32_t tries);
int32_t connect();
bool close();
#include <rudiments/private/unixsocketclient.h>
};
#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