Rudiments

modemclient.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_MODEMCLIENT_H
5 #define RUDIMENTS_MODEMCLIENT_H
6
7 #include <rudiments/private/modemclientincludes.h>
8
11 class RUDIMENTS_DLLSPEC modemclient : public client, private modemutil {
12 public:
13
15 modemclient();
16
19 modemclient(const modemclient &m);
20
23 modemclient &operator=(const modemclient &m);
24
26 virtual ~modemclient();
27
32 void initialize(constnamevaluepairs *cd);
33
39 void initialize(const char *device,
40 const char *baud,
41 const char *customatcommands,
42 const char *connectscript,
43 const char *phonenumber,
44 const char *disconnectscript,
45 uint32_t retrywait,
46 uint32_t tries);
47
67 int32_t connect();
68
72 bool close();
73
74 #include <rudiments/private/modemclient.h>
75 };
76
77 #endif
client
Definition: client.h:11
device
Definition: device.h:16
modemclient
Definition: modemclient.h:11
modemclient::initialize
void initialize(const char *device, const char *baud, const char *customatcommands, const char *connectscript, const char *phonenumber, const char *disconnectscript, uint32_t retrywait, uint32_t tries)
modemclient::~modemclient
virtual ~modemclient()
modemclient::operator=
modemclient & operator=(const modemclient &m)
modemclient::modemclient
modemclient()
modemclient::initialize
void initialize(constnamevaluepairs *cd)
modemclient::close
bool close()
modemclient::modemclient
modemclient(const modemclient &m)
modemclient::connect
int32_t connect()
modemutil
Definition: modemutil.h:11