mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 15:41:36 +02:00
changes from 1.3.6
This commit is contained in:
parent
81918bf522
commit
09fce4461e
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// AbstractConfiguration.h
|
// AbstractConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/AbstractConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/AbstractConfiguration.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Application.h
|
// Application.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/Application.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/Application.h#17 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Application
|
// Package: Application
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// ConfigurationMapper.h
|
// ConfigurationMapper.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/ConfigurationMapper.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/ConfigurationMapper.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// ConfigurationView.h
|
// ConfigurationView.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/ConfigurationView.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/ConfigurationView.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// FilesystemConfiguration.h
|
// FilesystemConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/FilesystemConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/FilesystemConfiguration.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// IniFileConfiguration.h
|
// IniFileConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/IniFileConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/IniFileConfiguration.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// IntValidator.h
|
// IntValidator.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/IntValidator.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/IntValidator.h#1 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// LayeredConfiguration.h
|
// LayeredConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/LayeredConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/LayeredConfiguration.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// LoggingConfigurator.h
|
// LoggingConfigurator.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/LoggingConfigurator.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/LoggingConfigurator.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// LoggingSubsystem.h
|
// LoggingSubsystem.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/LoggingSubsystem.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/LoggingSubsystem.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Application
|
// Package: Application
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// MapConfiguration.h
|
// MapConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/MapConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/MapConfiguration.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Option.h
|
// Option.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/Option.h#2 $
|
// $Id: //poco/Main/Util/include/Poco/Util/Option.h#6 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// OptionCallback.h
|
// OptionCallback.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/OptionCallback.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/OptionCallback.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// OptionException.h
|
// OptionException.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/OptionException.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/OptionException.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// OptionProcessor.h
|
// OptionProcessor.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/OptionProcessor.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/OptionProcessor.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// OptionSet.h
|
// OptionSet.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/OptionSet.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/OptionSet.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// PropertyFileConfiguration.h
|
// PropertyFileConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/PropertyFileConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/PropertyFileConfiguration.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Configuration
|
// Package: Configuration
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// RegExpValidator.h
|
// RegExpValidator.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/RegExpValidator.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/RegExpValidator.h#1 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// ServerApplication.h
|
// ServerApplication.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/ServerApplication.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/ServerApplication.h#7 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Application
|
// Package: Application
|
||||||
@ -100,14 +100,18 @@ class Util_API ServerApplication: public Application
|
|||||||
///
|
///
|
||||||
/// Note that the working directory for an application running as a service
|
/// Note that the working directory for an application running as a service
|
||||||
/// is the Windows system directory (e.g., C:\Windows\system32). Take this
|
/// is the Windows system directory (e.g., C:\Windows\system32). Take this
|
||||||
/// into account when working with relative filesystem paths.
|
/// into account when working with relative filesystem paths. Also, services
|
||||||
|
/// run under a different user account, so an application that works when
|
||||||
|
/// started from the command line may fail to run as a service if it depends
|
||||||
|
/// on a certain environment (e.g., the PATH environment variable).
|
||||||
///
|
///
|
||||||
/// An application registered as a Windows service can be started
|
/// An application registered as a Windows service can be started
|
||||||
/// with the NET START <name> command and stopped with the NET STOP <name>
|
/// with the NET START <name> command and stopped with the NET STOP <name>
|
||||||
/// command. Alternatively, the Services MMC applet can be used.
|
/// command. Alternatively, the Services MMC applet can be used.
|
||||||
///
|
///
|
||||||
/// On Unix platforms, an application built on top of the ServerApplication
|
/// On Unix platforms, an application built on top of the ServerApplication
|
||||||
/// class can be optionally run as a daemon. A daemon, when launched, immediately
|
/// class can be optionally run as a daemon by giving the --daemon
|
||||||
|
/// command line option. A daemon, when launched, immediately
|
||||||
/// forks off a background process that does the actual work. After launching
|
/// forks off a background process that does the actual work. After launching
|
||||||
/// the background process, the foreground process exits.
|
/// the background process, the foreground process exits.
|
||||||
///
|
///
|
||||||
@ -124,6 +128,11 @@ class Util_API ServerApplication: public Application
|
|||||||
/// {
|
/// {
|
||||||
/// // do daemon specific things
|
/// // do daemon specific things
|
||||||
/// }
|
/// }
|
||||||
|
///
|
||||||
|
/// When running as a daemon, specifying the --pidfile option (e.g.,
|
||||||
|
/// --pidfile=/var/run/sample.pid) may be useful to record the process ID of
|
||||||
|
/// the daemon in a file. The PID file will be removed when the daemon process
|
||||||
|
/// terminates (but not, if it crashes).
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ServerApplication();
|
ServerApplication();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Subsystem.h
|
// Subsystem.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/Subsystem.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/Subsystem.h#4 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Application
|
// Package: Application
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Util.h
|
// Util.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/Util.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/Util.h#3 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Util
|
// Package: Util
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Validator.h
|
// Validator.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/Validator.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/Validator.h#1 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Options
|
// Package: Options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// WinRegistryConfiguration.h
|
// WinRegistryConfiguration.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/WinRegistryConfiguration.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/WinRegistryConfiguration.h#2 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Windows
|
// Package: Windows
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// WinRegistryKey.h
|
// WinRegistryKey.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/1.3/Util/include/Poco/Util/WinRegistryKey.h#2 $
|
// $Id: //poco/Main/Util/include/Poco/Util/WinRegistryKey.h#4 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Windows
|
// Package: Windows
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// WinService.h
|
// WinService.h
|
||||||
//
|
//
|
||||||
// $Id: //poco/svn/Util/include/Poco/Util/WinService.h#1 $
|
// $Id: //poco/Main/Util/include/Poco/Util/WinService.h#4 $
|
||||||
//
|
//
|
||||||
// Library: Util
|
// Library: Util
|
||||||
// Package: Windows
|
// Package: Windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user