3 //=============================================================================
5 * @file Trading_Service.h
7 * @author Seth Widoff <sbw1@cs.wustl.edu>
9 //=============================================================================
12 #ifndef _TRADING_SERVICE_H
13 #define _TRADING_SERVICE_H
15 #include "ace/Sig_Handler.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "orbsvcs/IOR_Multicast.h"
22 #include "orbsvcs/Trader/Trader.h"
23 #include "orbsvcs/Trader/Service_Type_Repository.h"
24 #include "orbsvcs/Trader/Trading_Loader.h"
26 class Trading_Service
;
29 * @class Trading_Shutdown
31 * @brief A class that shutsdown a Trading Service instance.
33 class Trading_Shutdown
: public ACE_Event_Handler
37 Trading_Shutdown (Trading_Service
& trader
);
40 virtual int handle_signal (int,
45 Trading_Service
&trader_
;
46 ACE_Sig_Handler shutdown_
;
50 * @class Trading_Service
52 * @brief A class that initializes a Trading Service instance.
57 Trading_Service () = default;
61 /// Initialize the Trading Service with arguments.
65 /// Run the Trading Service.
71 /// Instance of TAO_Trading_Laoder
72 TAO_Trading_Loader trading_loader_
;
75 #endif /* _TRADING_SERVICE_H */