org.omg.CosTrading

Interface AdminOperations

public interface AdminOperations extends TraderComponentsOperations, SupportAttributesOperations, ImportAttributesOperations, LinkAttributesOperations

The admin interface enables the values of the trader attributes to be read and written. All attributes are defined as readonly in either SupportAttributes, ImportAttributes, LinkAttributes, or Admin. To set the trader attribute to a new value, set_ operations are defined in Admin. Each of these set operations returns the previous value of the attribute as its function value. If the admin interface operation set_support_proxy_offers is invoked with a value set to FALSE in a trader which supports the proxy interface, the set_support_proxy_offer value does not affect the function of operations in the proxy interface. However, in this case, it does have the effect of making any proxy offers exported via the proxy interface for that trader unavailable to satisfy queries on that traders lookup interface.
Method Summary
voidlist_offers(int how_many, OfferIdSeqHolder ids, OfferIdIteratorHolder id_itr)
The list_offers operation allows the administrator of a trader to perform housekeeping by obtaining a handle on each of the offers within a trader (e.g., for garbage collection etc.).
voidlist_proxies(int how_many, OfferIdSeqHolder ids, OfferIdIteratorHolder id_itr)
The list_proxies operation returns the set of offer identifiers for proxy offers held by a trader.
byte[]request_id_stem()
Read accessor for request_id_stem attribute
FollowOptionset_def_follow_policy(FollowOption policy)
Operation set_def_follow_policy
intset_def_hop_count(int value)
Operation set_def_hop_count
intset_def_match_card(int value)
Operation set_def_match_card
intset_def_return_card(int value)
Operation set_def_return_card
intset_def_search_card(int value)
Operation set_def_search_card
FollowOptionset_max_follow_policy(FollowOption policy)
Operation set_max_follow_policy
intset_max_hop_count(int value)
Operation set_max_hop_count
FollowOptionset_max_link_follow_policy(FollowOption policy)
Operation set_max_link_follow_policy
intset_max_list(int value)
Operation set_max_list
intset_max_match_card(int value)
Operation set_max_match_card
intset_max_return_card(int value)
Operation set_max_return_card
intset_max_search_card(int value)
Operation set_max_search_card
byte[]set_request_id_stem(byte[] stem)
Operation set_request_id_stem
booleanset_supports_dynamic_properties(boolean value)
Operation set_supports_dynamic_properties
booleanset_supports_modifiable_properties(boolean value)
Operation set_supports_modifiable_properties
booleanset_supports_proxy_offers(boolean value)
Operation set_supports_proxy_offers
Objectset_type_repos(Object repository)
Operation set_type_repos

Method Detail

list_offers

public void list_offers(int how_many, OfferIdSeqHolder ids, OfferIdIteratorHolder id_itr)
The list_offers operation allows the administrator of a trader to perform housekeeping by obtaining a handle on each of the offers within a trader (e.g., for garbage collection etc.). Only the identifiers of ordinary offers are returned, identifiers of proxy offers are not returned via this operation. If the trader does not support the Register interface, the NotImplemented exception is raised. The returned identifiers are passed back in one of two ways (or a combination of both). The ids return result conveys a list of offer identifiers and the id_itr is a reference to an interface at which additional offer identities can be obtained. The how_many parameter states how many identifiers are to be returned via the ids result; any remaining are available via the iterator interface. If the how_many exceeds the number of offers held in the trader, then the id_itr is nil.

list_proxies

public void list_proxies(int how_many, OfferIdSeqHolder ids, OfferIdIteratorHolder id_itr)
The list_proxies operation returns the set of offer identifiers for proxy offers held by a trader. Most how_many offer identifiers are returned via ids if: There are more than how_many offer identifiers, the remainder are returned via the id_itr iterator. There are only how_many or fewer offer identifiers, the id_itr is nil. The trader does not support the Proxy interface, the NotImplemented exception is raised.

request_id_stem

public byte[] request_id_stem()
Read accessor for request_id_stem attribute

Returns: the attribute value

set_def_follow_policy

public FollowOption set_def_follow_policy(FollowOption policy)
Operation set_def_follow_policy

set_def_hop_count

public int set_def_hop_count(int value)
Operation set_def_hop_count

set_def_match_card

public int set_def_match_card(int value)
Operation set_def_match_card

set_def_return_card

public int set_def_return_card(int value)
Operation set_def_return_card

set_def_search_card

public int set_def_search_card(int value)
Operation set_def_search_card

set_max_follow_policy

public FollowOption set_max_follow_policy(FollowOption policy)
Operation set_max_follow_policy

set_max_hop_count

public int set_max_hop_count(int value)
Operation set_max_hop_count

set_max_link_follow_policy

public FollowOption set_max_link_follow_policy(FollowOption policy)
Operation set_max_link_follow_policy

set_max_list

public int set_max_list(int value)
Operation set_max_list

set_max_match_card

public int set_max_match_card(int value)
Operation set_max_match_card

set_max_return_card

public int set_max_return_card(int value)
Operation set_max_return_card

set_max_search_card

public int set_max_search_card(int value)
Operation set_max_search_card

set_request_id_stem

public byte[] set_request_id_stem(byte[] stem)
Operation set_request_id_stem

set_supports_dynamic_properties

public boolean set_supports_dynamic_properties(boolean value)
Operation set_supports_dynamic_properties

set_supports_modifiable_properties

public boolean set_supports_modifiable_properties(boolean value)
Operation set_supports_modifiable_properties

set_supports_proxy_offers

public boolean set_supports_proxy_offers(boolean value)
Operation set_supports_proxy_offers

set_type_repos

public Object set_type_repos(Object repository)
Operation set_type_repos