Rudiments
Main Page
Classes
include
rudiments
server.h
1
// Copyright (c) 2002 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_SERVER_H
5
#define RUDIMENTS_SERVER_H
6
7
#include <rudiments/private/serverincludes.h>
8
9
#ifdef RUDIMENTS_NAMESPACE
10
namespace
rudiments {
11
#endif
12
13
class
serverprivate;
14
17
class
RUDIMENTS_DLLSPEC
server
:
public
filedescriptor
{
18
public
:
19
21
server
();
22
25
server
(
const
server
&s);
26
29
server
&operator=(
const
server
&s);
30
32
virtual
~
server
();
33
36
virtual
bool
bind()=0;
37
41
virtual
bool
listen(int32_t backlog)=0;
42
46
virtual
filedescriptor
*accept()=0;
47
48
#include <rudiments/private/server.h>
49
};
50
51
#ifdef RUDIMENTS_NAMESPACE
52
}
53
#endif
54
55
#endif
Generated on Wed Aug 1 2012 18:51:47 for Rudiments by
1.8.1.1