libutil++
1.9.3
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
sella
net
UnixSocket.h
1
/*
2
** libutil++
3
** $Id: UnixSocket.h 1653 2016-02-28 19:54:59Z sella $
4
** Copyright (c) 2011-2016 Digital Genesis, LLC. All Rights Reserved.
5
** Released under the LGPL Version 2.1 License.
6
** http://www.digitalgenesis.com
7
*/
8
9
#ifndef __libutilxx__sella__net__UnixSocket_H__
10
#define __libutilxx__sella__net__UnixSocket_H__
11
12
#include "../../common.h"
13
#include "Socket.h"
14
15
#include <sys/socket.h>
16
17
namespace
sella {
18
namespace
net {
19
class
UnixSocket;
20
}
21
}
22
23
class
sella::net::UnixSocket
:
public
Socket
{
24
public
:
25
typedef
std::shared_ptr<UnixSocket> shared;
26
typedef
UnixSocket
*
ptr
;
27
28
public
:
29
UnixSocket
(
int
s)
throw
(SocketException);
30
UnixSocket
(
const
UnixSocket
&sock) =
delete
;
31
virtual
~
UnixSocket
();
32
void
operator=(
const
UnixSocket
&sock) =
delete
;
33
34
static
const
UnixSocket::shared shared_ptr(
int
s)
throw
(SocketException);
35
protected
:
36
private
:
37
};
38
39
#endif
40
41
/*
42
** vim: noet ts=3 sw=3
43
*/
sella::net::Socket
Definition:
Socket.h:29
sella::net::UnixSocket
Definition:
UnixSocket.h:23
Generated on Sat Sep 2 2017 11:44:21 for libutil++ by
1.8.5