edu.sc.seis.fissuresUtil.cache
Class NSNetworkDC

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.NSNetworkDC
All Implemented Interfaces:
edu.iris.Fissures.IfNetwork.NetworkDCOperations, CorbaServerWrapper, ProxyNetworkDC, ServerNameDNS

public class NSNetworkDC
extends java.lang.Object
implements ProxyNetworkDC

NSNetworkDC.java Created: Mon Jan 27 13:14:23 2003


Field Summary
protected  FissuresNamingService namingService
           
protected  SynchronizedNetworkDC netDC
           
protected  java.lang.String serverDNS
           
protected  java.lang.String serverName
           
 
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
NSNetworkDC(java.lang.String serverDNS, java.lang.String serverName, FissuresNamingService fissuresNamingService)
           
 
Method Summary
 edu.iris.Fissures.IfNetwork.NetworkExplorer a_explorer()
           
 edu.iris.Fissures.IfNetwork.NetworkFinder a_finder()
           
 org.omg.CORBA.Object getCorbaObject()
          Gets the real corba object for which this is a proxy.
 FissuresNamingService getFissuresNamingService()
           
 java.lang.String getFullName()
           
 ProxyNetworkDC getNetworkDC()
           
 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.
protected  void repackageException(org.omg.CORBA.UserException e)
           
 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
 

Field Detail

netDC

protected SynchronizedNetworkDC netDC

serverDNS

protected java.lang.String serverDNS

serverName

protected java.lang.String serverName

namingService

protected FissuresNamingService namingService
Constructor Detail

NSNetworkDC

public NSNetworkDC(java.lang.String serverDNS,
                   java.lang.String serverName,
                   FissuresNamingService fissuresNamingService)
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

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

getFissuresNamingService

public FissuresNamingService getFissuresNamingService()

getServerDNS

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

getServerName

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

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

getNetworkDC

public ProxyNetworkDC getNetworkDC()

repackageException

protected void repackageException(org.omg.CORBA.UserException e)

a_explorer

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

a_finder

public edu.iris.Fissures.IfNetwork.NetworkFinder a_finder()
Specified by:
a_finder in interface edu.iris.Fissures.IfNetwork.NetworkDCOperations