#include <Trader.h>
Collaboration diagram for TAO_Trading_Components_i:
Public Member Functions | |
TAO_Trading_Components_i (TAO_Lockable &locker) | |
~TAO_Trading_Components_i (void) | |
CosTrading::Lookup_ptr | lookup_if (void) const |
void | lookup_if (CosTrading::Lookup_ptr) |
Set the reference to the Lookup interface. | |
CosTrading::Register_ptr | register_if (void) const |
void | register_if (CosTrading::Register_ptr) |
Set the reference to the Register interface of the trader. | |
CosTrading::Link_ptr | link_if (void) const |
void | link_if (CosTrading::Link_ptr) |
Set the reference to the Link interface of the trader. | |
CosTrading::Proxy_ptr | proxy_if (void) const |
void | proxy_if (CosTrading::Proxy_ptr) |
Set the reference to the Proxy interface of the trader. | |
CosTrading::Admin_ptr | admin_if (void) const |
void | admin_if (CosTrading::Admin_ptr) |
Set the reference to the Admin interface of the trader. | |
Private Attributes | |
TAO_Lockable & | locker_ |
CosTrading::Lookup_var | lookup_ |
CosTrading::Register_var | register_ |
CosTrading::Link_var | link_ |
CosTrading::Proxy_var | proxy_ |
CosTrading::Admin_var | admin_ |
Note, this class is for use in local address space only and is NOT a direct implementation of IDL methods. (Implementation of IDL methods in CosTrading::Trader_Components would need add a _duplicate call for each get method).
Definition at line 334 of file Trader.h.
|
Definition at line 476 of file Trader.cpp.
|
|
Definition at line 486 of file Trader.cpp.
00487 { 00488 } |
|
Set the reference to the Admin interface of the trader.
Definition at line 559 of file Trader.cpp. References ACE_WRITE_GUARD, and admin_.
00560 { 00561 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00562 this->admin_ = new_value; 00563 } |
|
Returns object reference for the Admin interface of the trader. Returns nil if the trader does not support Admin interface. Definition at line 551 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and admin_. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00552 { 00553 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00554 CosTrading::Admin::_nil ()); 00555 return this->admin_.ptr (); 00556 } |
|
Set the reference to the Link interface of the trader.
Definition at line 529 of file Trader.cpp. References ACE_WRITE_GUARD.
00530 { 00531 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00532 this->link_ = new_value; 00533 } |
|
Returns object reference for the Link interface of the trader. Returns nil if the trader does not support Link interface. Definition at line 521 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Trading_Loader::bootstrap_to_federation(), TAO_Trading_Loader::fini(), and TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00522 { 00523 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00524 CosTrading::Link::_nil ()); 00525 return this->link_.ptr (); 00526 } |
|
Set the reference to the Lookup interface.
Definition at line 499 of file Trader.cpp. References ACE_WRITE_GUARD, and lookup_.
00500 { 00501 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00502 this->lookup_ = new_value; 00503 } |
|
Returns an object reference to the Lookup interface of the trader. Returns nil if the trader does not support Lookup interface. Definition at line 491 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and lookup_. Referenced by TAO_Trading_Loader::bootstrap_to_federation(), TAO_Trading_Loader::create_object(), and TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00492 { 00493 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00494 CosTrading::Lookup::_nil ()); 00495 return this->lookup_.ptr (); 00496 } |
|
Set the reference to the Proxy interface of the trader.
Definition at line 544 of file Trader.cpp. References ACE_WRITE_GUARD, and proxy_.
00545 { 00546 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00547 this->proxy_ = new_value; 00548 } |
|
Returns object reference to the Proxy interface of the trader. Returns nil if the trader does not support Proxy interface. Definition at line 536 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and proxy_. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00537 { 00538 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00539 CosTrading::Proxy::_nil ()); 00540 return this->proxy_.ptr (); 00541 } |
|
Set the reference to the Register interface of the trader.
Definition at line 514 of file Trader.cpp. References ACE_WRITE_GUARD, and register_.
00515 { 00516 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00517 this->register_ = new_value; 00518 } |
|
Returns object reference for the Register interface of the trader. Returns nil if the trader does not support Register interface. Definition at line 506 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and register_. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00507 { 00508 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00509 CosTrading::Register::_nil ()); 00510 return this->register_.ptr (); 00511 } |
|
Definition at line 387 of file Trader.h. Referenced by admin_if(). |
|
|
|
|
|
Definition at line 383 of file Trader.h. Referenced by lookup_if(). |
|
Definition at line 386 of file Trader.h. Referenced by proxy_if(). |
|
Definition at line 384 of file Trader.h. Referenced by register_if(). |