TAO_CosTrader  2.4.2
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > Class Template Reference

#include <Trader_Interfaces.h>

Inheritance diagram for TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >:
Inheritance graph
[legend]
Collaboration diagram for TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >:
Collaboration graph
[legend]

Public Member Functions

 TAO_Link (TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &trader)
 
 ~TAO_Link (void)
 
virtual void add_link (const char *name, CosTrading::Lookup_ptr target, CosTrading::FollowOption def_pass_on_follow_rule, CosTrading::FollowOption limiting_follow_rule)
 
virtual void remove_link (const char *name)
 
virtual CosTrading::Link::LinkInfodescribe_link (const char *name)
 
virtual CosTrading::LinkNameSeqlist_links (void)
 
virtual void modify_link (const char *name, CosTrading::FollowOption def_pass_on_follow_rule, CosTrading::FollowOption limiting_follow_rule)
 
- Public Member Functions inherited from TAO_Trader_Components< POA_CosTrading::Link >
 TAO_Trader_Components (const TAO_Trading_Components_i &comps)
 
virtual CosTrading::Lookup_ptr lookup_if (void)
 
virtual CosTrading::Register_ptr register_if (void)
 
virtual CosTrading::Link_ptr link_if (void)
 
virtual CosTrading::Proxy_ptr proxy_if (void)
 
virtual CosTrading::Admin_ptr admin_if (void)
 
- Public Member Functions inherited from TAO_Support_Attributes< POA_CosTrading::Link >
 TAO_Support_Attributes (const TAO_Support_Attributes_i &attrs)
 
virtual CORBA::Boolean supports_modifiable_properties (void)
 
virtual CORBA::Boolean supports_dynamic_properties (void)
 
virtual CORBA::Boolean supports_proxy_offers (void)
 
virtual CosTrading::TypeRepository_ptr type_repos (void)
 
- Public Member Functions inherited from TAO_Link_Attributes< POA_CosTrading::Link >
 TAO_Link_Attributes (const TAO_Link_Attributes_i &attrs)
 
virtual CosTrading::FollowOption max_link_follow_policy (void)
 

Private Types

typedef ACE_Hash_Map_Manager_Ex< CORBA::String_var, CosTrading::Link::LinkInfo, ACE_Hash< CORBA::String_var >, ACE_Equal_To< CORBA::String_var >, MAP_LOCK_TYPE > Links
 

Private Member Functions

void operator= (const TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &)
 
 TAO_Link (const TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &)
 

Private Attributes

Links links_
 
TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > & trader_
 

Member Typedef Documentation

template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
typedef ACE_Hash_Map_Manager_Ex< CORBA::String_var, CosTrading::Link::LinkInfo, ACE_Hash<CORBA::String_var>, ACE_Equal_To<CORBA::String_var>, MAP_LOCK_TYPE > TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::Links
private

Constructor & Destructor Documentation

template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Link ( TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &  trader)
template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::~TAO_Link ( void  )
template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Link ( const TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &  )
private

Member Function Documentation

template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
void TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::add_link ( const char *  name,
CosTrading::Lookup_ptr  target,
CosTrading::FollowOption  def_pass_on_follow_rule,
CosTrading::FollowOption  limiting_follow_rule 
)
virtual

BEGIN SPEC The add_link operation allows a trader subsequently to use the service of another trader in the performance of its own trading service operations.

template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
CosTrading::Link::LinkInfo * TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::describe_link ( const char *  name)
virtual
template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
CosTrading::LinkNameSeq * TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::list_links ( void  )
virtual
template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
void TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::modify_link ( const char *  name,
CosTrading::FollowOption  def_pass_on_follow_rule,
CosTrading::FollowOption  limiting_follow_rule 
)
virtual
template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
void TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::operator= ( const TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE > &  )
private
template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
void TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::remove_link ( const char *  name)
virtual

Member Data Documentation

template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
Links TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::links_
private

The collection of link connecting this trader to others in the federation.

template<class TRADER_LOCK_TYPE , class MAP_LOCK_TYPE >
TAO_Trader<TRADER_LOCK_TYPE,MAP_LOCK_TYPE>& TAO_Link< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::trader_
private

The documentation for this class was generated from the following files: