summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Event/lib/Consumer.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-22 17:37:42 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-22 17:37:42 +0000
commit590db8ee5a9d6af9daac56e013b69a91b302bcad (patch)
treef1e279d06c2757d180a9f95e4f38b094e4b6b2ad /TAO/orbsvcs/tests/Event/lib/Consumer.h
parent8dec666aa952d00fbbf65d364200f9fe2a4ab6d2 (diff)
downloadATCD-590db8ee5a9d6af9daac56e013b69a91b302bcad.tar.gz
ChangeLogTag:Tue Jun 22 11:39:43 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/Event/lib/Consumer.h')
-rw-r--r--TAO/orbsvcs/tests/Event/lib/Consumer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Event/lib/Consumer.h b/TAO/orbsvcs/tests/Event/lib/Consumer.h
index e764d31666d..68231280d09 100644
--- a/TAO/orbsvcs/tests/Event/lib/Consumer.h
+++ b/TAO/orbsvcs/tests/Event/lib/Consumer.h
@@ -67,6 +67,9 @@ public:
// The application can invoke this method to disconnect from the EC
// and deactivate this class.
+ void shutdown (CORBA::Environment &ACE_TRY_ENV);
+ // The application is shutting down, deactivate the consumer.
+
void accumulate (EC_Driver::Throughput_Stats& throughput,
EC_Driver::Latency_Stats& latency) const;
// Accumulate our statistics to the totals.
@@ -108,6 +111,9 @@ private:
int shutdown_event_type_;
// The type used to indicate shutdown
+
+ int is_active_;
+ // Is the consumer active in the POA?
};
#endif /* ECT_CONSUMER_H */