modemserver.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_MODEMSERVER_H
#define RUDIMENTS_MODEMSERVER_H
#include <rudiments/private/modemserverincludes.h>
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
device
Definition: device.h:16
filedescriptor
Definition: filedescriptor.h:13
modemserver
Definition: modemserver.h:19
modemserver::accept
filedescriptor * accept()
modemserver::modemserver
modemserver()
modemserver::close
bool close()
modemserver::modemserver
modemserver(const modemserver &m)
modemserver::listen
bool listen(const char *device, const char *baud, const char *listenscript, const char *acceptscript, const char *disconnectscript)
modemserver::~modemserver
virtual ~modemserver()
modemserver::operator=
modemserver & operator=(const modemserver &m)
modemserver::listen
bool listen(int32_t backlog)
modemserver::initialize
void initialize(const char *device, const char *baud, const char *listenscript, const char *acceptscript, const char *disconnectscript)
modemutil
Definition: modemutil.h:11
server
Definition: server.h:11