summaryrefslogtreecommitdiff
path: root/TAO/tao/default_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/default_resource.h')
-rw-r--r--TAO/tao/default_resource.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h
index 297de51fea1..920162af283 100644
--- a/TAO/tao/default_resource.h
+++ b/TAO/tao/default_resource.h
@@ -73,12 +73,20 @@ public:
TAO_REACTOR_TP
};
+ // = Reactor mappings strategy
+ enum
+ {
+ TAO_SINGLE_REACTOR,
+ TAO_REACTOR_PER_PRIORITY
+ };
+
int cdr_allocator_source (void);
// Modify and get the source for the CDR allocators
// = Resource Retrieval
virtual int use_tss_resources (void) const;
virtual int use_locked_data_blocks (void) const;
+ virtual TAO_Reactor_Registry *get_reactor_registry (void);
virtual ACE_Reactor *get_reactor (void);
virtual TAO_Acceptor_Registry *get_acceptor_registry (void);
virtual TAO_Connector_Registry *get_connector_registry (void);
@@ -91,6 +99,7 @@ public:
virtual TAO_Resource_Factory::Caching_Strategy connection_caching_strategy_type (void) const;
virtual double purge_percentage (void) const;
+ virtual TAO_Priority_Mapping *get_priority_mapping (void);
protected:
virtual ACE_Reactor_Impl *allocate_reactor_impl (void) const;
@@ -104,6 +113,9 @@ protected:
int use_locked_data_blocks_;
// The type of data blocks that the ORB should use
+ int reactor_registry_type_;
+ // The type of reactor registry.
+
int reactor_type_;
// Flag indicating which kind of reactor we should use.
@@ -123,6 +135,9 @@ protected:
int reactor_mask_signals_;
// If <0> then we create reactors with signal handling disabled.
+
+ int sched_policy_;
+ // The scheduling policy used for the priority mapping class
};
#if defined (__ACE_INLINE__)