edu.sc.seis.fissuresUtil.cache
Class AbstractProxyNetworkDC

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.AbstractProxyNetworkDC
All Implemented Interfaces:
edu.iris.Fissures.IfNetwork.NetworkDCOperations, CorbaServerWrapper, ProxyNetworkDC, ServerNameDNS
Direct Known Subclasses:
MockNetworkDC, RetryNetworkDC, SynchronizedNetworkDC, VestingNetworkDC

public abstract class AbstractProxyNetworkDC
extends java.lang.Object
implements ProxyNetworkDC


Field Summary
protected  edu.iris.Fissures.IfNetwork.NetworkDCOperations netDC
           
 
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
AbstractProxyNetworkDC()
           
AbstractProxyNetworkDC(edu.iris.Fissures.IfNetwork.NetworkDCOperations netDC)
           
 
Method Summary
 edu.iris.Fissures.IfNetwork.NetworkExplorer a_explorer()
           
 org.omg.CORBA.Object getCorbaObject()
          Gets the real corba object for which this is a proxy.
 java.lang.String getFullName()
           
 java.lang.String getServerDNS()
           
 java.lang.String getServerName()
           
 java.lang.String getServerType()
           
 edu.iris.Fissures.IfNetwork.NetworkDCOperations getWrappedDC()
          Returns the DataCenterOperations directly inside of this one
 edu.iris.Fissures.IfNetwork.NetworkDCOperations getWrappedDC(java.lang.Class wrappedClass)
          Traverses through all of the ProxyNetworkDCs contained by this one, or the one it contains and if it finds one of the passed in class, returns it.
 void reset()
          Resets the proxy, potentially removing any cached data and reresolving the corba reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.iris.Fissures.IfNetwork.NetworkDCOperations
a_finder
 

Field Detail

netDC

protected edu.iris.Fissures.IfNetwork.NetworkDCOperations netDC
Constructor Detail

AbstractProxyNetworkDC

public AbstractProxyNetworkDC()

AbstractProxyNetworkDC

public AbstractProxyNetworkDC(edu.iris.Fissures.IfNetwork.NetworkDCOperations netDC)
Method Detail

getWrappedDC

public edu.iris.Fissures.IfNetwork.NetworkDCOperations getWrappedDC()
Description copied from interface: ProxyNetworkDC
Returns the DataCenterOperations directly inside of this one

Specified by:
getWrappedDC in interface ProxyNetworkDC

getWrappedDC

public edu.iris.Fissures.IfNetwork.NetworkDCOperations getWrappedDC(java.lang.Class wrappedClass)
Description copied from interface: ProxyNetworkDC
Traverses through all of the ProxyNetworkDCs contained by this one, or the one it contains and if it finds one of the passed in class, returns it. If there isn't one, it throws IllegalArgumentException

Specified by:
getWrappedDC in interface ProxyNetworkDC

reset

public void reset()
Description copied from interface: ProxyNetworkDC
Resets the proxy, potentially removing any cached data and reresolving the corba reference.

Specified by:
reset in interface CorbaServerWrapper
Specified by:
reset in interface ProxyNetworkDC

getCorbaObject

public org.omg.CORBA.Object getCorbaObject()
Description copied from interface: ProxyNetworkDC
Gets the real corba object for which this is a proxy.

Specified by:
getCorbaObject in interface ProxyNetworkDC
Specified by:
getCorbaObject in interface ServerNameDNS

getServerName

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

getServerType

public java.lang.String getServerType()
Specified by:
getServerType 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

a_explorer

public edu.iris.Fissures.IfNetwork.NetworkExplorer a_explorer()
Specified by:
a_explorer in interface edu.iris.Fissures.IfNetwork.NetworkDCOperations