modemserver.h
// Copyright (c) 2004 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_MODEMSERVER_H
#define RUDIMENTS_MODEMSERVER_H
#include <rudiments/private/modemserverincludes.h>
class modemserverprivate;
class RUDIMENTS_DLLSPEC modemserver : public server, private modemutil {
public:
modemserver();
modemserver(const modemserver &m);
modemserver &operator=(const modemserver &m);
virtual ~modemserver();
bool listen(const char *device, const char *baud,
const char *listenscript,
const char *acceptscript,
const char *disconnectscript);
void initialize(const char *device, const char *baud,
const char *listenscript,
const char *acceptscript,
const char *disconnectscript);
bool listen(int32_t backlog);
filedescriptor *accept();
bool close();
#include <rudiments/private/modemserver.h>
};
#endif
server::listen
virtual bool listen(int32_t backlog)
server::accept
virtual filedescriptor * accept()
server::operator=
server & operator=(const server &s)
server
Definition: server.h:13
device
Definition: device.h:18
modemutil
Definition: modemutil.h:11
filedescriptor
Definition: filedescriptor.h:14
filedescriptor::close
virtual bool close()
modemserver
Definition: modemserver.h:21