edu.sc.seis.fissuresUtil.cache
Class VestingNetworkFinder

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.ProxyNetworkFinder
      extended by edu.sc.seis.fissuresUtil.cache.VestingNetworkFinder
All Implemented Interfaces:
NetworkFinder, NetworkFinderOperations, CorbaServerWrapper, java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity

public class VestingNetworkFinder
extends ProxyNetworkFinder

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.sc.seis.fissuresUtil.cache.ProxyNetworkFinder
nf
 
Fields inherited from interface edu.sc.seis.fissuresUtil.cache.CorbaServerWrapper
EVENTACCESS_TYPE, EVENTDC_TYPE, EVENTFINDER_TYPE, NETACCESS_TYPE, NETDC_TYPE, NETFINDER_TYPE, PLOTTABLEDC_TYPE, SEISDC_TYPE
 
Constructor Summary
VestingNetworkFinder(ProxyNetworkDC netDC, int numRetry)
           
VestingNetworkFinder(ProxyNetworkDC netDC, RetryStrategy handler)
           
 
Method Summary
 void reset()
          If this ProxyNetworkFinder is holding onto a ProxyNetworkFinder, it calls reset on that network finder.
 NetworkAccess[] retrieve_all()
           
 NetworkAccess[] retrieve_by_code(java.lang.String code)
           
 NetworkAccess retrieve_by_id(NetworkId id)
           
 NetworkAccess[] retrieve_by_name(java.lang.String name)
           
 CacheNetworkAccess vest(NetworkAccess na)
           
 NetworkAccess[] vest(NetworkAccess[] accesses)
           
 CacheNetworkAccess vest(NetworkAttrImpl attr)
           
 
Methods inherited from class edu.sc.seis.fissuresUtil.cache.ProxyNetworkFinder
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override, getCorbaObject, getFullName, getServerDNS, getServerName, getServerType, getWrappedNetworkFinder, hasCorbaObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VestingNetworkFinder

public VestingNetworkFinder(ProxyNetworkDC netDC,
                            int numRetry)

VestingNetworkFinder

public VestingNetworkFinder(ProxyNetworkDC netDC,
                            RetryStrategy handler)
Method Detail

retrieve_by_id

public NetworkAccess retrieve_by_id(NetworkId id)
                             throws NetworkNotFound
Specified by:
retrieve_by_id in interface NetworkFinderOperations
Overrides:
retrieve_by_id in class ProxyNetworkFinder
Throws:
NetworkNotFound

retrieve_by_code

public NetworkAccess[] retrieve_by_code(java.lang.String code)
                                 throws NetworkNotFound
Specified by:
retrieve_by_code in interface NetworkFinderOperations
Overrides:
retrieve_by_code in class ProxyNetworkFinder
Throws:
NetworkNotFound

retrieve_by_name

public NetworkAccess[] retrieve_by_name(java.lang.String name)
                                 throws NetworkNotFound
Specified by:
retrieve_by_name in interface NetworkFinderOperations
Overrides:
retrieve_by_name in class ProxyNetworkFinder
Throws:
NetworkNotFound

retrieve_all

public NetworkAccess[] retrieve_all()
Specified by:
retrieve_all in interface NetworkFinderOperations
Overrides:
retrieve_all in class ProxyNetworkFinder

vest

public NetworkAccess[] vest(NetworkAccess[] accesses)

vest

public CacheNetworkAccess vest(NetworkAccess na)

vest

public CacheNetworkAccess vest(NetworkAttrImpl attr)
                        throws NetworkNotFound
Throws:
NetworkNotFound

reset

public void reset()
Description copied from class: ProxyNetworkFinder
If this ProxyNetworkFinder is holding onto a ProxyNetworkFinder, it calls reset on that network finder. Otherwise it just falls through.

Specified by:
reset in interface CorbaServerWrapper
Overrides:
reset in class ProxyNetworkFinder