diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-06 22:36:55 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-06 22:36:55 +0000 |
commit | 7f2f1bff2b6f40cc646074646bbb82c59aaf0d26 (patch) | |
tree | 47964c3b209979baa5fa078566d738c9a5a55b98 /TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h | |
parent | 2cfbfd8012d736491d9b559c9d9cd49f02e08ec6 (diff) | |
download | ATCD-7f2f1bff2b6f40cc646074646bbb82c59aaf0d26.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE-4_6_11'.ACE-4_6_11
Diffstat (limited to 'TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h')
-rw-r--r-- | TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h b/TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h deleted file mode 100644 index ff9fefb9092..00000000000 --- a/TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// CosECConsumer.h -// -// = AUTHOR -// Pradeep Gore <pradeep@cs.wustl.edu> -// -// = DESCRIPTION -// Defines a simple Push Consumer. -// -// ============================================================================ - -#ifndef COSECCONSUMER_H_ -#define COSECCONSUMER_H_ - -#include "orbsvcs/CosEventCommC.h" -#include "orbsvcs/CosEventChannelAdminC.h" -#include "orbsvcs/CosEventCommS.h" -#include "orbsvcs/CosEventChannelAdminS.h" - -class CosECConsumer : public POA_CosEventComm::PushConsumer -{ - // = TITLE - // CosECConsumer - // - // = DESCRIPTION - // The CosECConsumer is a simple PushConsumer that connects to the - // CosEC and receives events from it. - -public: - void open (CosEventChannelAdmin::EventChannel_ptr event_channel, - CORBA::Environment& TAO_TRY_ENV); - // This method connects the consumer to the EC. - - void close (CORBA::Environment &TAO_TRY_ENV); - // Disconnect from the EC. - - void connect (CORBA::Environment &TAO_TRY_ENV); - // Connect the CosECConsumer to the EventChannel. - - void disconnect (CORBA::Environment &TAO_TRY_ENV); - // Disconnect from the supplier, but do not forget about it or close - // it. - - virtual void push (const CORBA::Any &data, - CORBA::Environment &TAO_TRY_ENV); - // push the event to the consumer. - - virtual void disconnect_push_consumer (CORBA::Environment &TAO_TRY_ENV); - // disconnect the consumer from the EC. - -private: - CosEventChannelAdmin::ProxyPushSupplier_var supplier_proxy_; - // We talk to the EC using this proxy. - - CosEventChannelAdmin::ConsumerAdmin_var consumer_admin_; - // We talk to the EC using this proxy. -}; - -#endif /* COSECCONSUMER_H_ */ |