psocksxx
1.1.1
lib
psocksxx
socktimeoutexception.h
1
/*
2
* psocksxx - A C++ wrapper for POSIX sockets
3
* Copyright (C) 2013 Uditha Atukorala
4
*
5
* This software library is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU Lesser General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This software library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this software library. If not, see <http://www.gnu.org/licenses/>.
17
*
18
*/
19
20
#ifndef PSOCKSXX_SOCKTIMEOUTEXCEPTION_H
21
#define PSOCKSXX_SOCKTIMEOUTEXCEPTION_H
22
23
#include <psocksxx/sockexception.h>
24
25
#include <sys/time.h>
26
27
28
namespace
psocksxx {
29
36
class
socktimeoutexception
:
public
sockexception
{
37
public
:
38
47
socktimeoutexception
(
const
char
* message )
throw
();
48
58
socktimeoutexception
(
const
timeval * t_val,
const
char
* method = 0 )
throw
();
59
60
virtual
~socktimeoutexception
()
throw
();
61
62
};
63
64
}
/* end of namespace psocksxx */
65
66
#endif
/* !PSOCKSXX_SOCKTIMEOUTEXCEPTION_H */
67
psocksxx::socktimeoutexception
Socket timeout exception.
Definition:
socktimeoutexception.h:36
psocksxx::socktimeoutexception::socktimeoutexception
socktimeoutexception(const char *message)
constructor
Definition:
socktimeoutexception.cpp:27
psocksxx::sockexception
Socket exception.
Definition:
sockexception.h:35
psocksxx::socktimeoutexception::~socktimeoutexception
virtual ~socktimeoutexception()
destructor
Definition:
socktimeoutexception.cpp:47
Generated by
1.8.17