#include <Trader.h>
Collaboration diagram for TAO_Import_Attributes_i:
Contains a reference to the trader from which it is used so it can use trader's lock.
Definition at line 236 of file Trader.h.
|
Definition at line 264 of file Trader.cpp.
00265 : locker_ (locker), 00266 def_search_card_ (200), 00267 max_search_card_ (500), 00268 def_match_card_ (200), 00269 max_match_card_ (500), 00270 def_return_card_ (200), 00271 max_return_card_ (500), 00272 max_list_ (0), 00273 def_hop_count_ (5), 00274 max_hop_count_ (10), 00275 def_follow_policy_ (CosTrading::if_no_local), 00276 max_follow_policy_ (CosTrading::always) 00277 { 00278 } |
|
Definition at line 281 of file Trader.cpp.
00282 { 00283 } |
|
Definition at line 448 of file Trader.cpp. References ACE_WRITE_GUARD.
00449 { 00450 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00451 00452 if (new_value > this->max_follow_policy_) 00453 this->def_follow_policy_ = this->max_follow_policy_; 00454 else 00455 this->def_follow_policy_ = new_value; 00456 } |
|
Definition at line 441 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Import_Attributes< IF >::def_follow_policy(), TAO_Policies::link_follow_rule(), and TAO_Trader_Factory::manufacture_trader().
00442 { 00443 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), CosTrading::local_only); 00444 return this->def_follow_policy_; 00445 } |
|
Definition at line 413 of file Trader.cpp. References ACE_WRITE_GUARD.
00414 { 00415 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00416 00417 if (new_value > this->max_hop_count_) 00418 this->def_hop_count_ = this->max_hop_count_; 00419 else 00420 this->def_hop_count_ = new_value; 00421 } |
|
Definition at line 406 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Import_Attributes< IF >::def_hop_count(), TAO_Trader_Factory::manufacture_trader(), and TAO_Policies::ulong_prop().
00407 { 00408 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 0); 00409 return this->def_hop_count_; 00410 } |
|
Definition at line 329 of file Trader.cpp. References ACE_WRITE_GUARD.
00330 { 00331 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00332 00333 if (new_value > this->max_match_card_) 00334 this->def_match_card_ = this->max_match_card_; 00335 else 00336 this->def_match_card_ = new_value; 00337 } |
|
Definition at line 322 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Import_Attributes< IF >::def_match_card(), TAO_Trader_Factory::manufacture_trader(), and TAO_Policies::ulong_prop().
00323 { 00324 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 10); 00325 return this->def_match_card_; 00326 } |
|
Definition at line 364 of file Trader.cpp. References ACE_WRITE_GUARD.
00365 { 00366 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00367 00368 if (new_value > this->max_return_card_) 00369 this->def_return_card_ = this->max_return_card_; 00370 else 00371 this->def_return_card_ = new_value; 00372 } |
|
Definition at line 357 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Import_Attributes< IF >::def_return_card(), TAO_Trader_Factory::manufacture_trader(), and TAO_Policies::ulong_prop().
00358 { 00359 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 10); 00360 return this->def_return_card_; 00361 } |
|
Definition at line 293 of file Trader.cpp. References ACE_WRITE_GUARD.
00294 { 00295 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00296 00297 if (new_value > this->max_search_card_) 00298 this->def_search_card_ = this->max_search_card_; 00299 else 00300 this->def_search_card_ = new_value; 00301 } |
|
Definition at line 286 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Import_Attributes< IF >::def_search_card(), TAO_Trader_Factory::manufacture_trader(), and TAO_Policies::ulong_prop().
00287 { 00288 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 10); 00289 return this->def_search_card_; 00290 } |
|
Definition at line 466 of file Trader.cpp. References ACE_WRITE_GUARD.
00467 { 00468 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00469 this->max_follow_policy_ = new_value; 00470 00471 if (this->def_follow_policy_ > this->max_follow_policy_) 00472 this->def_follow_policy_ = this->max_follow_policy_; 00473 } |
|
Definition at line 459 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Policies::copy_in_follow_option(), TAO_Policies::link_follow_rule(), TAO_Trader_Factory::manufacture_trader(), and TAO_Import_Attributes< IF >::max_follow_policy().
00460 { 00461 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), CosTrading::local_only); 00462 return this->max_follow_policy_; 00463 } |
|
Definition at line 431 of file Trader.cpp. References ACE_WRITE_GUARD.
00432 { 00433 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00434 this->max_hop_count_ = new_value; 00435 00436 if (this->def_hop_count_ > this->max_hop_count_) 00437 this->def_hop_count_ = this->max_hop_count_; 00438 } |
|
Definition at line 424 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Trader_Factory::manufacture_trader(), TAO_Import_Attributes< IF >::max_hop_count(), and TAO_Policies::ulong_prop().
00425 { 00426 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 0); 00427 return this->max_hop_count_; 00428 } |
|
Definition at line 399 of file Trader.cpp. References ACE_WRITE_GUARD, and max_list_.
00400 { 00401 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00402 this->max_list_ = new_value; 00403 } |
|
Definition at line 392 of file Trader.cpp. References ACE_READ_GUARD_RETURN, and max_list_. Referenced by TAO_Import_Attributes< IF >::max_list().
00393 { 00394 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 0); 00395 return this->max_list_; 00396 } |
|
Definition at line 347 of file Trader.cpp. References ACE_WRITE_GUARD.
00348 { 00349 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00350 this->max_match_card_ = new_value; 00351 00352 if (this->def_match_card_ > this->max_match_card_) 00353 this->def_match_card_ = this->max_match_card_; 00354 } |
|
Definition at line 340 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Trader_Factory::manufacture_trader(), TAO_Import_Attributes< IF >::max_match_card(), and TAO_Policies::ulong_prop().
00341 { 00342 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 10); 00343 return this->max_match_card_; 00344 } |
|
Definition at line 382 of file Trader.cpp. References ACE_WRITE_GUARD.
00383 { 00384 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00385 this->max_return_card_ = new_value; 00386 00387 if (this->def_return_card_ > this->max_return_card_) 00388 this->def_return_card_ = this->max_return_card_; 00389 } |
|
Definition at line 375 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Trader_Factory::manufacture_trader(), TAO_Import_Attributes< IF >::max_return_card(), and TAO_Policies::ulong_prop().
00376 { 00377 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 10); 00378 return this->max_return_card_; 00379 } |
|
Definition at line 311 of file Trader.cpp. References ACE_WRITE_GUARD.
00312 { 00313 ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ()); 00314 00315 this->max_search_card_ = new_value; 00316 00317 if (this->def_search_card_ > this->max_search_card_) 00318 this->def_search_card_ = this->max_search_card_; 00319 } |
|
Definition at line 304 of file Trader.cpp. References ACE_READ_GUARD_RETURN. Referenced by TAO_Trader_Factory::manufacture_trader(), TAO_Import_Attributes< IF >::max_search_card(), and TAO_Policies::ulong_prop().
00305 { 00306 ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (), 10); 00307 return this->max_search_card_; 00308 } |
|
Default link follow policy for a particular trader.
|
|
Upper bound of depth of links to be traversed if is not specified. |
|
Upper bound of matched offers to be ordered if is not specified). |
|
Upper bound of ordered offers to be returned if is not specified. |
|
Upper bound of offers to be searched if is not specified. |
|
|
|
Limiting link follow policy for all links of the trader - overrides both link and importer policies. |
|
Maximum upper bound of depth of links to be traversed.
|
|
Upper bound of depth.
Definition at line 306 of file Trader.h. Referenced by max_list(). |
|
Maximum upper bound of matched offers to be ordered.
|
|
Maximum upper bound of ordered offers to be returned.
|
|
Maximum upper bound of offers to be searched.
|