edu.sc.seis.fissuresUtil.cache
Class RetryNetworkDC

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.AbstractProxyNetworkDC
      extended by edu.sc.seis.fissuresUtil.cache.RetryNetworkDC
All Implemented Interfaces:
NetworkDCOperations, CorbaServerWrapper, ProxyNetworkDC, ServerNameDNS

public class RetryNetworkDC
extends AbstractProxyNetworkDC

Just a pass thru class for the remote networkdc, but this will retry if there are errors, up to the specified number. This can help in the case of temporary network/server errors, but may simply waste time in the case of bigger errors.


Field Summary
 
Fields inherited from class edu.sc.seis.fissuresUtil.cache.AbstractProxyNetworkDC
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
RetryNetworkDC(NetworkDCOperations netDC, int retry)
           
RetryNetworkDC(NetworkDCOperations netDC, RetryStrategy handler)
           
 
Method Summary
 NetworkExplorer a_explorer()
           
 NetworkFinder a_finder()
           
 int getNumRetry()
           
 
Methods inherited from class edu.sc.seis.fissuresUtil.cache.AbstractProxyNetworkDC
getCorbaObject, getFullName, getServerDNS, getServerName, getServerType, getWrappedDC, getWrappedDC, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryNetworkDC

public RetryNetworkDC(NetworkDCOperations netDC,
                      int retry)

RetryNetworkDC

public RetryNetworkDC(NetworkDCOperations netDC,
                      RetryStrategy handler)
Method Detail

getNumRetry

public int getNumRetry()

a_explorer

public NetworkExplorer a_explorer()
Specified by:
a_explorer in interface NetworkDCOperations
Overrides:
a_explorer in class AbstractProxyNetworkDC

a_finder

public NetworkFinder a_finder()