#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 477 of file Trader.cpp.
|
|
Definition at line 487 of file Trader.cpp.
00488 { 00489 } |
|
Set the reference to the Admin interface of the trader.
Definition at line 560 of file Trader.cpp. References ACE_WRITE_GUARD, and admin_.
00561 { 00562 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00563 this->admin_ = new_value; 00564 } |
|
Returns object reference for the Admin interface of the trader. Returns nil if the trader does not support Admin interface. Definition at line 552 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and admin_. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00553 { 00554 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00555 CosTrading::Admin::_nil ()); 00556 return this->admin_.ptr (); 00557 } |
|
Set the reference to the Link interface of the trader.
Definition at line 530 of file Trader.cpp. References ACE_WRITE_GUARD.
00531 { 00532 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00533 this->link_ = new_value; 00534 } |
|
Returns object reference for the Link interface of the trader. Returns nil if the trader does not support Link interface. Definition at line 522 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().
00523 { 00524 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00525 CosTrading::Link::_nil ()); 00526 return this->link_.ptr (); 00527 } |
|
Set the reference to the Lookup interface.
Definition at line 500 of file Trader.cpp. References ACE_WRITE_GUARD, and lookup_.
00501 { 00502 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00503 this->lookup_ = new_value; 00504 } |
|
Returns an object reference to the Lookup interface of the trader. Returns nil if the trader does not support Lookup interface. Definition at line 492 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().
00493 { 00494 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00495 CosTrading::Lookup::_nil ()); 00496 return this->lookup_.ptr (); 00497 } |
|
Set the reference to the Proxy interface of the trader.
Definition at line 545 of file Trader.cpp. References ACE_WRITE_GUARD.
00546 { 00547 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00548 this->proxy_ = new_value; 00549 } |
|
Returns object reference to the Proxy interface of the trader. Returns nil if the trader does not support Proxy interface. Definition at line 537 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00538 { 00539 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00540 CosTrading::Proxy::_nil ()); 00541 return this->proxy_.ptr (); 00542 } |
|
Set the reference to the Register interface of the trader.
Definition at line 515 of file Trader.cpp. References ACE_WRITE_GUARD, and register_.
00516 { 00517 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00518 this->register_ = new_value; 00519 } |
|
Returns object reference for the Register interface of the trader. Returns nil if the trader does not support Register interface. Definition at line 507 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and register_. Referenced by TAO_Trader< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::TAO_Trader().
00508 { 00509 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 00510 CosTrading::Register::_nil ()); 00511 return this->register_.ptr (); 00512 } |
|
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 384 of file Trader.h. Referenced by register_if(). |