Commit Graph

89 Commits

Author SHA1 Message Date
paulc 91ca986d14 Added a broadcast flag to class Message so it can continue dispatching even if one of the handlers returned true.
Use the broadcast flag in the messages emitted by the engine.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3384 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 11:42:52 +00:00
paulc de974962ac Added a YNOCOPY macro that declares private inaccessible assignment operator and copy constructor to prevent using the compiler generated ones.
Fixed a bug exposed by this change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc d95cb2fec6 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://yate.null.ro/svn/yate/trunk@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc dda44fe281 Made a lot of constructors explicit to prevent undesirable automatic conversions.
Fixed two undesirable automatic conversions exposed by this change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
marian 74e1d159cd Return found configuration section when asked to check or create one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3303 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-10 14:02:21 +00:00
paulc fe9c1c1c98 Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
paulc fa955b9342 Documented order of inserting and calling message handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2731 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:30:47 +00:00
paulc bad4b42a73 Added engine config section so individual modules that depend on buggy
libraries are never unloaded from memory, only finalized if possible.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2722 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 17:44:48 +00:00
paulc d32ef480a0 Added possibility to disable unloading in modules at build time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2720 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:54:07 +00:00
paulc 38dc83a703 Made MessageHandler::cleanup() protected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2681 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-03 16:07:12 +00:00
paulc 2b1aeea22c Re-enabled MessageRelay::received() but documented that it is not called through polymorphism.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2582 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 11:19:49 +00:00
paulc 1aefd3f093 Wait for a message handler to become safe to destroy when uninstalling it.
Make MessageRelay become safe early so it can be uninstalled from its receiver.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2581 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 10:05:25 +00:00
paulc bf3a210aaa Added virtual destructor for EngineCheck to keep compiler happy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2561 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 15:29:25 +00:00
marian 3996128f3a Added engine checker class. Added check point after parsing the command line and changing current directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2559 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 14:35:51 +00:00
paulc 97c6ccf207 Added API and command line parameter to change user data directory at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2259 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 20:15:33 +00:00
paulc 4e80bf9d0c Config file missing warning can be disabled, use it to silence notices about files that are genuinely missing from a fresh install.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2098 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-25 09:09:12 +00:00
paulc 39424ad04d Custom message relays can be installed in Modules, relays can be uninstalled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1682 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-26 20:43:05 +00:00
paulc 325a06fda8 Added clustering in Windows, fixed unload support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1669 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 22:59:37 +00:00
paulc f2fa3236b6 Added module loading and unloading support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1668 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 21:09:41 +00:00
paulc ee59b2d42c Added a list of run instance parameters to the engine, access from extmodule.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1665 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 11:43:04 +00:00
paulc 6ca62a64ca Added node name (for clustering) and use it in heartbeat and regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1651 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-19 11:19:52 +00:00
paulc 6063d1b43e Added capability for plugins to request early init order.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1496 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 23:56:37 +00:00
paulc b42a894ddc Directory reorder #3
git-svn-id: http://yate.null.ro/svn/yate/trunk@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc 6f2c70aa86 Added support for multiple module directories, can be specified from the
command line.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1405 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-23 16:18:18 +00:00
paulc 25f9f72297 Engine's running mode can be read by any component.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1233 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-26 17:38:50 +00:00
paulc 6be659a835 Message handlers are removed from dispatcher before being destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1220 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-19 21:05:41 +00:00
paulc 82ac44663b Moved user config files to personal directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@859 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-11 16:50:04 +00:00
paulc 10ac4a10bc API docs can be built with doxygen. Also cleaned headers to generate
proper documentation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@845 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-08 18:31:00 +00:00
paulc dfef54f36b Changed documentation to emphasis the synchronous or asynchronous nature of
dispatch vs. enqueue.


git-svn-id: http://yate.null.ro/svn/yate/trunk@839 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-05 17:48:51 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 4a292bd06b Moved all classes in all modules in anonymous namespaces.
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.


git-svn-id: http://yate.null.ro/svn/yate/trunk@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc d9ec2f62a3 Added configuration parameter for excessive message dispatch time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@739 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-04 15:39:54 +00:00
paulc 4fb35c4015 Added the case-insensitive startSkip almost in the form suggested by Olaf Conradi.
Added methods for converting a String or Configuration entry to double.


git-svn-id: http://yate.null.ro/svn/yate/trunk@711 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-13 20:28:34 +00:00
paulc 58b9faac12 Added copy constructors for NamedList and Message
git-svn-id: http://yate.null.ro/svn/yate/trunk@696 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 14:56:39 +00:00
paulc 5bc18c7a40 Added a virtual destructor to please the compilers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@694 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-19 01:24:03 +00:00
paulc 4d6ee9d16b Avoiding a potential performance loss in unused message notifiers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@678 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-02 14:15:29 +00:00
paulc 6ea652118b Asynchronous processing of messages by using notifiers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@677 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-01 22:45:43 +00:00
paulc 8c8af3dad4 Added default initialization of billid so it can track calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@589 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-26 18:26:46 +00:00
paulc 0126e0c86a Added restart command in rmanager and also by signals.
Added a global child reaper to avoid zombies.


git-svn-id: http://yate.null.ro/svn/yate/trunk@530 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-29 19:34:23 +00:00
paulc e88f37919c Multiple media channels related changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@492 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-02 16:39:00 +00:00
paulc 14c3a10eeb Added Stream and File classes, fixed a data related bug in extmodule.
git-svn-id: http://yate.null.ro/svn/yate/trunk@470 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-06 19:37:31 +00:00
paulc 78622ce308 Added engine restart method, increased message warn time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@465 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-29 23:32:19 +00:00
paulc f64ca1875c Removed old Gtk-1 and Qt clients, added hashed lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@447 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 20:48:06 +00:00
paulc 80109fdfb4 Exporting the path separator.
git-svn-id: http://yate.null.ro/svn/yate/trunk@428 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-04 12:53:04 +00:00
paulc f015a3446e *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@421 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 21:12:16 +00:00
paulc 7c0aee7be9 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@405 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-14 20:53:20 +00:00
paulc bf510d7445 Added counts for dispatcher handlers and messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@389 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-07 16:12:25 +00:00
paulc d6b03a2919 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@378 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-30 15:13:02 +00:00
paulc 29dca81e9e Implemented Windows service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@371 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-20 23:08:16 +00:00
paulc 06f0a9374a Client related changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@330 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-05 17:02:18 +00:00