diff options
author | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-11 21:43:51 +0000 |
---|---|---|
committer | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-11 21:43:51 +0000 |
commit | 086e686b4bc36487f81339afdd2e64b947e2c1c4 (patch) | |
tree | 9505c27f1bb222c904ffa1a2d1b0efa4f0096364 /TAO/tao/default_resource.h | |
parent | ca270eec6356696454d93b7d08bc988b7fb27875 (diff) | |
download | ATCD-086e686b4bc36487f81339afdd2e64b947e2c1c4.tar.gz |
Wed Jul 11 16:03:58 2001 Paul Calabrese <calabrese_p@ociweb.com>
Diffstat (limited to 'TAO/tao/default_resource.h')
-rw-r--r-- | TAO/tao/default_resource.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h index 736fff7b574..3f189678498 100644 --- a/TAO/tao/default_resource.h +++ b/TAO/tao/default_resource.h @@ -100,6 +100,8 @@ public: virtual TAO_Connection_Purging_Strategy *create_purging_strategy (void); virtual TAO_LF_Strategy *create_lf_strategy (void); + virtual void disable_factory (void); + protected: /// Obtain the reactor implementation virtual ACE_Reactor_Impl *allocate_reactor_impl (void) const; @@ -107,6 +109,9 @@ protected: /// Add a Parser name to the list of Parser names. int add_to_ior_parser_names (const char *); + void report_option_value_error (const char* option_name, + const char* option_value); + protected: /// Flag indicating whether resources should be global or /// thread-specific. @@ -157,6 +162,16 @@ protected: virtual int load_default_protocols (void); + /// This flag is used to determine whether options have been + /// processed via the init() function. It is necessary to + /// properly report errors when the default factory is replaced. + int options_processed_; + + /// This flag specifies whether the factory has been disabled. + /// If it has been disabled we should print warnings if options + /// were processed before (or later). + int factory_disabled_; + private: enum Lock_Type { |