aboutsummaryrefslogtreecommitdiff
path: root/src/stable/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/socket.h')
-rw-r--r--src/stable/socket.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/stable/socket.h b/src/stable/socket.h
new file mode 100644
index 0000000..360b3aa
--- /dev/null
+++ b/src/stable/socket.h
@@ -0,0 +1,33 @@
1/*
2 * Copyright (C) 2007-2019 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#ifndef BU_SOCKET_H
9#define BU_SOCKET_H
10
11#include <stdint.h>
12
13#include "bu/config.h"
14#include "bu/stream.h"
15
16namespace Bu
17{
18 /**
19 *
20 *@ingroup Serving
21 *@ingroup Streams
22 */
23 class Socket : public Stream
24 {
25 public:
26 Socket();
27 virtual ~Socket();
28
29 virtual bool getFd( int &rFdOut ) const=0;
30 };
31}
32
33#endif