3 //=============================================================================
7 * This class implements driver for the Publish/Subscribe example
9 //=============================================================================
16 * @brief Supplier driver for the TAO Publish/Subscribe example.
18 * This class starts up the <Supplier_Input_Handler> and
19 * <Notifier_Handler> objects.
21 class Supplier
: public ACE_Event_Handler
, public ShutdownCallback
24 // Initialization and Termination methods.
31 /// Initialization method. returns 0 on success, -1 on error.
32 int init (int argc
, ACE_TCHAR
*argv
[]);
34 /// Execute the supplier.
37 /// Shutdown the application.
38 virtual void close (void);
41 /// Handle shutdown signals.
42 virtual int handle_signal (int signum
,
46 /// Handler for keyboard input.
47 Supplier_Input_Handler ih_
;
49 /// The notifier handler.