summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h')
-rw-r--r--TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
index e6294322038..fd6466c78ca 100644
--- a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
+++ b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
@@ -30,45 +30,45 @@ class Subscribe_StructuredPushSupplier;
class Subscribe
{
public:
- Subscribe (void);
+ Subscribe ();
~Subscribe ();
/// Init the Client.
void init (int argc, ACE_TCHAR *argv []);
/// Run the demo.
- void run (void);
+ void run ();
/// Called when all events we are waiting for have occurred.
- void done (void);
+ void done ();
protected:
/// Initializes the ORB.
void init_ORB (int argc, ACE_TCHAR *argv []);
/// Try to get hold of a running naming service.
- void resolve_naming_service (void);
+ void resolve_naming_service ();
/// Try to resolve the Notify factory from the Naming service.
- void resolve_Notify_factory (void);
+ void resolve_Notify_factory ();
/// Create an EC.
- void create_EC (void);
+ void create_EC ();
/// Create the Supplier Admin.
- void create_supplieradmin(void);
+ void create_supplieradmin();
/// Create the Consumer Admin.
- void create_consumeradmin (void);
+ void create_consumeradmin ();
/// Create and initialize the consumers.
- void create_consumers (void);
+ void create_consumers ();
/// create and initialize the suppliers.
- void create_suppliers (void);
+ void create_suppliers ();
/// send the events.
- void send_events (void);
+ void send_events ();
// = Data Members
/// Reference to the root poa.
@@ -130,10 +130,10 @@ public:
void connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin);
/// Disconnect from the supplier.
- virtual void disconnect (void);
+ virtual void disconnect ();
/// Accessor for the Proxy that we're connected to.
- CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr get_proxy_supplier (void);
+ CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr get_proxy_supplier ();
// public data member for evaluating the results of subscription.
CosNotification::EventTypeSeq expected_subscription_;
@@ -150,7 +150,7 @@ protected:
// = Methods
/// Destructor
- virtual ~Subscribe_StructuredPushConsumer (void);
+ virtual ~Subscribe_StructuredPushConsumer ();
// = NotifyPublish method
virtual void offer_change (
@@ -177,14 +177,14 @@ class Subscribe_StructuredPushSupplier
//
public:
/// Constructor.
- Subscribe_StructuredPushSupplier (void);
+ Subscribe_StructuredPushSupplier ();
/// Connect the Supplier to the EventChannel.
/// Creates a new proxy consumer and connects to it.
void connect (CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin);
/// Disconnect from the supplier.
- void disconnect (void);
+ void disconnect ();
/// Send one event.
virtual void send_event (const CosNotification::StructuredEvent& event);