Commit Graph

262 Commits

Author SHA1 Message Date
Gunnar Beutner 2cd43ed8c6 Refactored subscription handling into a separate component. 2012-04-19 11:29:36 +02:00
Gunnar Beutner fd64dc5a99 Bugfix: Make sure timeval is valid. 2012-04-19 09:41:12 +02:00
Gunnar Beutner 8621717f4c Set SO_REUSEADDR for listeners. 2012-04-19 09:31:24 +02:00
Gunnar Beutner f3f582ab61 Cleaned up Socket/Timer code. 2012-04-19 08:46:41 +02:00
Gunnar Beutner f9bf1c3b75 Compilation fixes for gcc. 2012-04-18 15:51:17 +02:00
Gunnar Beutner efaa2a1fd1 Updated automake files. 2012-04-18 15:42:21 +02:00
Gunnar Beutner 7474b63dff Refactored messaging system. 2012-04-18 15:22:25 +02:00
Gunnar Beutner ab32aa4f71 Refactored JSON/message code. 2012-04-16 16:27:41 +02:00
Gunnar Beutner 40b45c3d91 Renamed event/condvar/mutex/thread classes to match other class names. 2012-04-16 08:36:50 +02:00
Gunnar Beutner 9bfff6ddb7 Restructured components. 2012-04-13 13:10:35 +02:00
Gunnar Beutner d5be7a0b4f Build fixes. 2012-04-13 11:08:33 +02:00
Gunnar Beutner fda4f1189b Build fix. 2012-04-06 09:28:43 +02:00
Gunnar Beutner 399b2eca19 Fixed assertion at program exit. 2012-04-06 09:16:43 +02:00
Gunnar Beutner 04472c5a85 Fixed *NIX build 2012-04-06 09:13:25 +02:00
Gunnar Beutner 390a00e546 Made build system more Windows-friendly
Implemented endpoint system for the discovery service
2012-04-06 08:56:52 +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 f20e71ace8 Fixed compilation problem on *NIX. 2012-04-04 10:33:27 +02:00
Gunnar Beutner 5360a39cc5 Fixed module unloading problems. 2012-04-04 10:08:31 +02:00
Gunnar Beutner 94c7324b51 Merge branch 'master' of ssh://github.com/gunnarbeutner/i2test 2012-04-04 10:05:49 +02:00
Gunnar Beutner c3142ed593 Refactored config handling to support observing individual config object types more easily. 2012-04-04 10:04:38 +02:00
Gunnar Beutner 2e8ed6a6b5 Implemented SIGINT handler 2012-04-03 19:57:09 +02:00
Gunnar Beutner 6fea4d6baa Fixed compilations errors.
Added some more debugging code.
2012-04-03 19:19:49 +02:00
Gunnar Beutner bfcb5019d5 Detect level of C++ support. 2012-04-03 15:47:32 +02:00
Gunnar Beutner 66fdf079fa Removed custom new_object function. 2012-04-03 15:16:11 +02:00
Gunnar Beutner 34d50924e8 Added support for demangling GCC C++ names. 2012-04-03 13:48:37 +02:00
Gunnar Beutner 7ba6a4d921 Implemented rudimentary error handling. 2012-04-03 13:04:57 +02:00
Gunnar Beutner b30284c64c Use const references for shared ptrs. 2012-04-03 11:39:26 +02:00
Gunnar Beutner 3da08ca9b6 Refactored event handling. 2012-04-03 11:13:17 +02:00
Gunnar Beutner 7c5d29bbc9 Renamed RefType/WeakRefType typedefs to Ptr/WeakPtr 2012-04-02 20:50:35 +02:00
Gunnar Beutner 24c0c7cb9c Fixed PATH_MAX problems on *NIX. 2012-04-02 19:38:58 +02:00
Gunnar Beutner f890f1d42c Fixed dependency problem. 2012-04-02 16:26:23 +02:00
Gunnar Beutner 8c6d3cd5b7 Bugfix: Forgot to initialize m_Arguments 2012-04-02 13:16:22 +02:00
Gunnar Beutner 0e215f112a Fixed search path problems. 2012-04-02 13:09:33 +02:00
Gunnar Beutner d386a2cc4c Build fixes for CentOS 5.3 2012-04-02 12:32:23 +02:00
Gunnar Beutner 55efd625a3 Moved platform-specific code into separate files. 2012-04-02 10:26:38 +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 191ded487b Removed I2_ prefix for header guard #defines. 2012-04-02 08:56:30 +02:00
Gunnar Beutner eb34b40d40 Refactored config object handling. 2012-04-01 19:32:41 +02:00
Gunnar Beutner 4f1c10f529 Fixed ltdl initialization.
Fixed indentation
2012-04-01 15:20:13 +02:00
Gunnar Beutner b4a51c98c7 Implemented loading components on *NIX. 2012-04-01 13:23:32 +02:00
Gunnar Beutner 43b38f5a85 Fixed compilation errors with automake/gcc 2012-04-01 10:18:29 +02:00
Gunnar Beutner a368030a80 Added support for logging. 2012-04-01 09:30:08 +02:00
Gunnar Beutner 1661a1b363 Cleaned up component API. 2012-03-31 16:03:42 +02:00
Gunnar Beutner 4388f20d64 Updated makefile. 2012-03-31 15:20:38 +02:00
Gunnar Beutner 5273e09d24 Added support for configuration and loadable components. 2012-03-31 15:18:30 +02:00
Gunnar Beutner b0ed08d4b5 Make sure to remove dead weak delegates from events. 2012-03-31 09:36:38 +02:00
Gunnar Beutner 0a73519030 Implemented the thread class. 2012-03-31 09:36:00 +02:00
Gunnar Beutner 4df6b08043 Implemented thread synchronisation primitives. 2012-03-31 09:09:40 +02:00
Gunnar Beutner 70df015ed0 Removed global variable. 2012-03-30 19:56:54 +02:00
Gunnar Beutner 238e02b56a Implemented Application::Daemonize method 2012-03-30 10:24:42 +02:00
Gunnar Beutner af1edb7d94 Fixed crash bug in Timer::StopAllTimers
Fixed compilation error with gcc (in connectionmanager.cpp)
Use unformatted JSON strings in release builds
2012-03-29 20:23:13 +02:00
Gunnar Beutner 1ebda64e75 Implemented support for binding methods to the ConnectionManager class 2012-03-29 20: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 c7f8ec38fd Simplified FIFO implementation
Fixed a memoryleak in Netstring class
2012-03-29 07:42:30 +02:00
Gunnar Beutner 9db06ec8e7 Improved FIFO performance 2012-03-28 19:50:55 +02:00
Gunnar Beutner 265a8231c8 Implemented support for sending reply messages. 2012-03-28 15:56:39 +02:00
Gunnar Beutner ed402c45c5 Added missing include for *NIX 2012-03-28 14:08:06 +02:00
Gunnar Beutner 221bbe9a07 Improved buffering behavior. 2012-03-28 14:06:02 +02:00
Gunnar Beutner 4bd2adc4f9 Added missing files. 2012-03-28 13:38:41 +02:00
Gunnar Beutner e11994038d Initial commit. 2012-03-28 13:24:49 +02:00