edu.sc.seis.fissuresUtil.cache
Class ProxyNetworkFinder

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.ProxyNetworkFinder
All Implemented Interfaces:
edu.iris.Fissures.IfNetwork.NetworkFinder, edu.iris.Fissures.IfNetwork.NetworkFinderOperations, CorbaServerWrapper, java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
Direct Known Subclasses:
CacheByIdNetworkFinder, CleanDupNetworks, FilterNetworkFinder, MockNetworkFinder, NSNetworkFinder, RetryNetworkFinder, SynchronizedNetworkFinder, VestingNetworkFinder

public abstract class ProxyNetworkFinder
extends java.lang.Object
implements edu.iris.Fissures.IfNetwork.NetworkFinder, CorbaServerWrapper

Wrapper for NetworkFinders that pass all of the interesting real NetworkFinder calls down to the wrapped finder. For all of the CORBA system type calls that we're required to implement since this must be a networkfinder and not a NetworkFinderOperations we just throw a NO_IMPLEMENT if there isn't a real NetworkFinder somehwere in the stack of Proxies. if there is one, we just use it to return things like _non_existent() Bearing that in mind, if there isn't a real corba object at the base, please don't try to send an instance of this class over the wire

See Also:
Serialized Form

Field Summary
protected  edu.iris.Fissures.IfNetwork.NetworkFinder 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
ProxyNetworkFinder()
           
ProxyNetworkFinder(edu.iris.Fissures.IfNetwork.NetworkFinder nf)
           
 
Method Summary
 org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
           
 org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exclist, org.omg.CORBA.ContextList ctxlist)
           
 org.omg.CORBA.Object _duplicate()
           
 org.omg.CORBA.DomainManager[] _get_domain_managers()
           
 org.omg.CORBA.Object _get_interface_def()
           
 org.omg.CORBA.Policy _get_policy(int policy_type)
           
 int _hash(int maximum)
           
 boolean _is_a(java.lang.String repositoryIdentifier)
           
 boolean _is_equivalent(org.omg.CORBA.Object other)
           
 boolean _non_existent()
           
 void _release()
           
 org.omg.CORBA.Request _request(java.lang.String operation)
           
 org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
           
 edu.iris.Fissures.IfNetwork.NetworkFinder getCorbaObject()
           
 java.lang.String getFullName()
           
 java.lang.String getServerDNS()
           
 java.lang.String getServerName()
           
 java.lang.String getServerType()
           
 edu.iris.Fissures.IfNetwork.NetworkFinder getWrappedNetworkFinder()
           
 boolean hasCorbaObject()
           
 void reset()
          If this ProxyNetworkFinder is holding onto a ProxyNetworkFinder, it calls reset on that network finder.
 edu.iris.Fissures.IfNetwork.NetworkAccess[] retrieve_all()
           
 edu.iris.Fissures.IfNetwork.NetworkAccess[] retrieve_by_code(java.lang.String code)
           
 edu.iris.Fissures.IfNetwork.NetworkAccess retrieve_by_id(edu.iris.Fissures.IfNetwork.NetworkId id)
           
 edu.iris.Fissures.IfNetwork.NetworkAccess[] retrieve_by_name(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nf

protected edu.iris.Fissures.IfNetwork.NetworkFinder nf
Constructor Detail

ProxyNetworkFinder

public ProxyNetworkFinder()

ProxyNetworkFinder

public ProxyNetworkFinder(edu.iris.Fissures.IfNetwork.NetworkFinder nf)
Method Detail

getWrappedNetworkFinder

public edu.iris.Fissures.IfNetwork.NetworkFinder getWrappedNetworkFinder()

reset

public void reset()
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

hasCorbaObject

public boolean hasCorbaObject()

getCorbaObject

public edu.iris.Fissures.IfNetwork.NetworkFinder getCorbaObject()

getServerName

public java.lang.String getServerName()
Specified by:
getServerName in interface CorbaServerWrapper

getServerDNS

public java.lang.String getServerDNS()
Specified by:
getServerDNS in interface CorbaServerWrapper

getFullName

public java.lang.String getFullName()
Specified by:
getFullName in interface CorbaServerWrapper

getServerType

public java.lang.String getServerType()
Specified by:
getServerType in interface CorbaServerWrapper

retrieve_by_id

public edu.iris.Fissures.IfNetwork.NetworkAccess retrieve_by_id(edu.iris.Fissures.IfNetwork.NetworkId id)
                                                         throws edu.iris.Fissures.IfNetwork.NetworkNotFound
Specified by:
retrieve_by_id in interface edu.iris.Fissures.IfNetwork.NetworkFinderOperations
Throws:
edu.iris.Fissures.IfNetwork.NetworkNotFound

retrieve_by_code

public edu.iris.Fissures.IfNetwork.NetworkAccess[] retrieve_by_code(java.lang.String code)
                                                             throws edu.iris.Fissures.IfNetwork.NetworkNotFound
Specified by:
retrieve_by_code in interface edu.iris.Fissures.IfNetwork.NetworkFinderOperations
Throws:
edu.iris.Fissures.IfNetwork.NetworkNotFound

retrieve_by_name

public edu.iris.Fissures.IfNetwork.NetworkAccess[] retrieve_by_name(java.lang.String name)
                                                             throws edu.iris.Fissures.IfNetwork.NetworkNotFound
Specified by:
retrieve_by_name in interface edu.iris.Fissures.IfNetwork.NetworkFinderOperations
Throws:
edu.iris.Fissures.IfNetwork.NetworkNotFound

retrieve_all

public edu.iris.Fissures.IfNetwork.NetworkAccess[] retrieve_all()
Specified by:
retrieve_all in interface edu.iris.Fissures.IfNetwork.NetworkFinderOperations

_release

public void _release()
Specified by:
_release in interface org.omg.CORBA.Object

_non_existent

public boolean _non_existent()
Specified by:
_non_existent in interface org.omg.CORBA.Object

_hash

public int _hash(int maximum)
Specified by:
_hash in interface org.omg.CORBA.Object

_is_a

public boolean _is_a(java.lang.String repositoryIdentifier)
Specified by:
_is_a in interface org.omg.CORBA.Object

_get_domain_managers

public org.omg.CORBA.DomainManager[] _get_domain_managers()
Specified by:
_get_domain_managers in interface org.omg.CORBA.Object

_duplicate

public org.omg.CORBA.Object _duplicate()
Specified by:
_duplicate in interface org.omg.CORBA.Object

_get_interface_def

public org.omg.CORBA.Object _get_interface_def()
Specified by:
_get_interface_def in interface org.omg.CORBA.Object

_is_equivalent

public boolean _is_equivalent(org.omg.CORBA.Object other)
Specified by:
_is_equivalent in interface org.omg.CORBA.Object

_get_policy

public org.omg.CORBA.Policy _get_policy(int policy_type)
Specified by:
_get_policy in interface org.omg.CORBA.Object

_request

public org.omg.CORBA.Request _request(java.lang.String operation)
Specified by:
_request in interface org.omg.CORBA.Object

_set_policy_override

public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies,
                                                 org.omg.CORBA.SetOverrideType set_add)
Specified by:
_set_policy_override in interface org.omg.CORBA.Object

_create_request

public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
                                             java.lang.String operation,
                                             org.omg.CORBA.NVList arg_list,
                                             org.omg.CORBA.NamedValue result)
Specified by:
_create_request in interface org.omg.CORBA.Object

_create_request

public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
                                             java.lang.String operation,
                                             org.omg.CORBA.NVList arg_list,
                                             org.omg.CORBA.NamedValue result,
                                             org.omg.CORBA.ExceptionList exclist,
                                             org.omg.CORBA.ContextList ctxlist)
Specified by:
_create_request in interface org.omg.CORBA.Object