Rudiments: /home/dmuse/src/rudiments/include/rudiments/modemclient.h Source File

Rudiments

- Main Page
- Classes

modemclient.h
1 // Copyright (c) 2004 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
9 class modemclientprivate;
10
13 class RUDIMENTS_DLLSPEC modemclient : public client, private modemutil {
14 public:
15
17 modemclient();
18
21 modemclient(const modemclient &m);
22
25 modemclient &operator=(const modemclient &m);
26
28 virtual ~modemclient();
29
34 void initialize(constnamevaluepairs *cd);
35
41 void initialize(const char *device,
42 const char *baud,
43 const char *customatcommands,
44 const char *connectscript,
45 const char *phonenumber,
46 const char *disconnectscript,
47 uint32_t retrywait,
48 uint32_t tries);
49
69 int32_t connect();
70
74 bool close();
75
76 #include <rudiments/private/modemclient.h>
77 };
78
79 #endif
client
Definition: client.h:13
device
Definition: device.h:18
client::connect
virtual int32_t connect()
modemclient
Definition: modemclient.h:13
modemutil
Definition: modemutil.h:11
filedescriptor::close
virtual bool close()
client::initialize
virtual void initialize(constnamevaluepairs *cd)
client::operator=
client & operator=(const client &c)