org.omg.CosTrading
Interface AdminOperations

All Superinterfaces:
ImportAttributesOperations, LinkAttributesOperations, SupportAttributesOperations, TraderComponentsOperations
All Known Subinterfaces:
Admin
All Known Implementing Classes:
_AdminStub, Admin, AdminPOA, AdminPOATie

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 trader?s lookup interface.


Method Summary
 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.).
 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.
 byte[] request_id_stem()
          Read accessor for request_id_stem attribute
 FollowOption set_def_follow_policy(FollowOption policy)
          Operation set_def_follow_policy
 int set_def_hop_count(int value)
          Operation set_def_hop_count
 int set_def_match_card(int value)
          Operation set_def_match_card
 int set_def_return_card(int value)
          Operation set_def_return_card
 int set_def_search_card(int value)
          Operation set_def_search_card
 FollowOption set_max_follow_policy(FollowOption policy)
          Operation set_max_follow_policy
 int set_max_hop_count(int value)
          Operation set_max_hop_count
 FollowOption set_max_link_follow_policy(FollowOption policy)
          Operation set_max_link_follow_policy
 int set_max_list(int value)
          Operation set_max_list
 int set_max_match_card(int value)
          Operation set_max_match_card
 int set_max_return_card(int value)
          Operation set_max_return_card
 int set_max_search_card(int value)
          Operation set_max_search_card
 byte[] set_request_id_stem(byte[] stem)
          Operation set_request_id_stem
 boolean set_supports_dynamic_properties(boolean value)
          Operation set_supports_dynamic_properties
 boolean set_supports_modifiable_properties(boolean value)
          Operation set_supports_modifiable_properties
 boolean set_supports_proxy_offers(boolean value)
          Operation set_supports_proxy_offers
 org.omg.CORBA.Object set_type_repos(org.omg.CORBA.Object repository)
          Operation set_type_repos
 
Methods inherited from interface org.omg.CosTrading.TraderComponentsOperations
admin_if, link_if, lookup_if, proxy_if, register_if
 
Methods inherited from interface org.omg.CosTrading.SupportAttributesOperations
supports_dynamic_properties, supports_modifiable_properties, supports_proxy_offers, type_repos
 
Methods inherited from interface org.omg.CosTrading.ImportAttributesOperations
def_follow_policy, def_hop_count, def_match_card, def_return_card, def_search_card, max_follow_policy, max_hop_count, max_list, max_match_card, max_return_card, max_search_card
 
Methods inherited from interface org.omg.CosTrading.LinkAttributesOperations
max_link_follow_policy
 

Method Detail

request_id_stem

byte[] request_id_stem()
Read accessor for request_id_stem attribute

Returns:
the attribute value

set_def_search_card

int set_def_search_card(int value)
Operation set_def_search_card


set_max_search_card

int set_max_search_card(int value)
Operation set_max_search_card


set_def_match_card

int set_def_match_card(int value)
Operation set_def_match_card


set_max_match_card

int set_max_match_card(int value)
Operation set_max_match_card


set_def_return_card

int set_def_return_card(int value)
Operation set_def_return_card


set_max_return_card

int set_max_return_card(int value)
Operation set_max_return_card


set_max_list

int set_max_list(int value)
Operation set_max_list


set_supports_modifiable_properties

boolean set_supports_modifiable_properties(boolean value)
Operation set_supports_modifiable_properties


set_supports_dynamic_properties

boolean set_supports_dynamic_properties(boolean value)
Operation set_supports_dynamic_properties


set_supports_proxy_offers

boolean set_supports_proxy_offers(boolean value)
Operation set_supports_proxy_offers


set_def_hop_count

int set_def_hop_count(int value)
Operation set_def_hop_count


set_max_hop_count

int set_max_hop_count(int value)
Operation set_max_hop_count


set_def_follow_policy

FollowOption set_def_follow_policy(FollowOption policy)
Operation set_def_follow_policy


set_max_follow_policy

FollowOption set_max_follow_policy(FollowOption policy)
Operation set_max_follow_policy


set_max_link_follow_policy

FollowOption set_max_link_follow_policy(FollowOption policy)
Operation set_max_link_follow_policy


set_type_repos

org.omg.CORBA.Object set_type_repos(org.omg.CORBA.Object repository)
Operation set_type_repos


set_request_id_stem

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


list_offers

void list_offers(int how_many,
                 OfferIdSeqHolder ids,
                 OfferIdIteratorHolder id_itr)
                 throws NotImplemented
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.

Throws:
NotImplemented

list_proxies

void list_proxies(int how_many,
                  OfferIdSeqHolder ids,
                  OfferIdIteratorHolder id_itr)
                  throws NotImplemented
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.

Throws:
NotImplemented