psocksxx  1.0.0
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 
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 
virtual ~socktimeoutexception()
destructor
Definition: socktimeoutexception.cpp:47
Socket exception.
Definition: sockexception.h:35
socktimeoutexception(const char *message)
constructor
Definition: socktimeoutexception.cpp:27
Definition: iosocks.cpp:23
Socket timeout exception.
Definition: socktimeoutexception.h:36