Commit Graph

36 Commits

Author SHA1 Message Date
Gunnar Beutner a64c99c176 Implemented logging to files and made logging configurable. 2012-07-10 15:14:45 +02:00
Gunnar Beutner 60c4dce4dd Added assert()s for some common thread-safety problems. 2012-07-10 13:00:53 +02:00
Gunnar Beutner 5f0bec3936 Implemented compat module (WIP). 2012-06-27 18:43:34 +02:00
Gunnar Beutner 6f9342a261 Re-delegate services after config changes. 2012-06-27 10:59:08 +02:00
Gunnar Beutner 593e329248 Added serialization support for check results.
Bugfixes.
2012-06-25 14:13:24 +02:00
Gunnar Beutner 34d26d424f Made sockets multi-threaded. 2012-06-24 05:27:01 +02:00
Gunnar Beutner 7f299fb2a7 Performance fixes for TLS sockets. 2012-06-22 11:47:06 +02:00
Gunnar Beutner dbe48e501c Use specific types (rather than Object::Ptr) for event handlers. 2012-06-16 13:09:17 +02:00
Gunnar Beutner 7753e229cc Remove EventArgs struct. 2012-06-16 03:42:54 +02:00
Gunnar Beutner 0bd5323629 Prefer boost::* over C++0x features. 2012-06-15 19:32:41 +02:00
Gunnar Beutner 1e1bb43dea Replaced custom event code with Boost.Signals. 2012-06-14 15:16:41 +02:00
Gunnar Beutner 132a62f4eb Fixed Solaris compatibility. 2012-05-29 16:56:25 +02:00
Gunnar Beutner 33d67401b9 Use STL exceptions as far as possible. 2012-05-26 21:30:04 +02:00
Gunnar Beutner 5dfb1cc4b4 Cleaned up socket error handling. 2012-05-26 20:01:00 +02:00
Gunnar Beutner 1f56d2eb13 Win32: added handler for Ctrl-C
Removed unused code from the Component class
Added accessor function for Application::Instance
2012-05-21 12:54:28 +02:00
Gunnar Beutner d9b7debdcc Cleaned up application initialization.
Made code documentation more doxygen-friendly.
Added doxygen config file.
2012-05-14 19:14:23 +02:00
Gunnar Beutner f6dff42434 Fixed FSF address. 2012-05-11 13:33:57 +02:00
Gunnar Beutner ab6b46786b Build fix for Solaris. 2012-05-11 12:44:04 +02:00
Gunnar Beutner 1ec7c223d4 Fixed more compilation warnings. 2012-05-10 13:49:24 +02:00
Gunnar Beutner 3214c29363 Added copyright headers.
Updated Debian build files.
2012-05-10 12:06:41 +02:00
Gunnar Beutner bef85cac1a Updated documentation for some of the classes. 2012-05-08 15:14:20 +02:00
Gunnar Beutner 415f1d39aa Close old connection when duplicate endpoints are found. 2012-04-27 13:44:53 +02:00
Gunnar Beutner db25f7f353 Moved Get*Address() functions to Socket class. 2012-04-27 11:44:05 +02:00
Gunnar Beutner 21ef4836ee Implement SSL support. 2012-04-24 14:02:15 +02:00
Gunnar Beutner f7acf4ba3f Code cleanups.
Proper error handling for some *NIX functions.
2012-04-23 09:48:20 +02:00
Gunnar Beutner 69c30c264a Code cleanup 2012-04-22 16:45:31 +02:00
Gunnar Beutner f3f582ab61 Cleaned up Socket/Timer code. 2012-04-19 08:46:41 +02:00
Gunnar Beutner 7474b63dff Refactored messaging system. 2012-04-18 15:22:25 +02:00
Gunnar Beutner 8e7787e315 Improved socket error handling. 2012-04-04 16:02:19 +02:00
Gunnar Beutner 6a42ac0fe5 Moved ConnectionManager class to icinga subproject. 2012-04-04 15:37:57 +02:00
Gunnar Beutner 261329e483 Implemented outbound JSON-RPC client connections.
Made socket error handling more robust.
2012-04-04 12:36:23 +02:00
Gunnar Beutner 66fdf079fa Removed custom new_object function. 2012-04-03 15:16:11 +02:00
Gunnar Beutner 7c5d29bbc9 Renamed RefType/WeakRefType typedefs to Ptr/WeakPtr 2012-04-02 20:50:35 +02:00
Gunnar Beutner 1b6bfb9db5 Cleaned up includes; using namespace std is the default now. 2012-04-02 09:03:29 +02:00
Gunnar Beutner 89ddfdd7e7 Set FIONBIO flag for sockets
Make m_FD member variable private.
2012-03-29 13:15:54 +02:00
Gunnar Beutner e11994038d Initial commit. 2012-03-28 13:24:49 +02:00