#include <Trader_T.h>
Inheritance diagram for TAO_Trader:


Public Types | |
| typedef TAO_Offer_Database< MAP_LOCK_TYPE > | Offer_Database |
| Offer Database Trait. More... | |
Public Methods | |
| TAO_Trader (Trader_Components components=LOOKUP) | |
| Constructor which based on its arguments will create a particular type of trader (e.g. More... | |
| virtual | ~TAO_Trader (void) |
| Destructor. More... | |
| Offer_Database & | offer_database (void) |
| Accessor for the structure with all the service offers. More... | |
| ACE_Lock & | lock (void) |
| Returns the trader. More... | |
Protected Types | |
| typedef TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > | TRADER_SELF |
| enum | { LOOKUP_IF, REGISTER_IF, ADMIN_IF, PROXY_IF, LINK_IF } |
Protected Attributes | |
| Offer_Database | offer_database_ |
| ACE_Lock_Adapter< TRADER_LOCK_TYPE > | lock_ |
| Lock that guards the state of the trader (its configuration). More... | |
| PortableServer::ServantBase * | ifs_ [5] |
Private Methods | |
| void | operator= (const TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &) |
TAO_Trader contains all the components that together represent a single trader. Based on its constructor arguments, TAO_Trader creates instances of appropriate interface implementations as well as instances of objects common to more than one interface (offers, attributes, etc.). TAO_Trader also enforces the proper order on all initializations. TAO_Trader acts like a "glue" class that creates appropriate components, holds everything together, and enforces order. TAO_Trader is parameterized by two types of locks: one for its service service offers, one for its state (configuration).
|
|||||
|
Offer Database Trait.
|
|
|||||
|
|
|
|||||
|
|
|
||||||||||
|
Constructor which based on its arguments will create a particular type of trader (e.g. Query trader, Simple trader, etc.) The argument is a bitwise OR of desired Trader_Components as listed in enumerated type above. |
|
||||||||||
|
Destructor.
|
|
||||||||||
|
Returns the trader.
Reimplemented from TAO_Lockable. |
|
||||||||||
|
Accessor for the structure with all the service offers.
|
|
||||||||||
|
|
|
|||||
|
|
|
|||||
|
Lock that guards the state of the trader (its configuration).
|
|
|||||
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001