edu.sc.seis.fissuresUtil.cache
Class RetryPlottableDC

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.RetryPlottableDC
All Implemented Interfaces:
edu.iris.Fissures.IfPlottable.PlottableDCOperations, CorbaServerWrapper, ProxyPlottableDC

public class RetryPlottableDC
extends java.lang.Object
implements ProxyPlottableDC, CorbaServerWrapper


Field Summary
 
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
RetryPlottableDC(NSPlottableDC plottable, int retry)
           
RetryPlottableDC(NSPlottableDC plottable, RetryStrategy strat)
           
 
Method Summary
 boolean custom_sizes()
           
 edu.iris.Fissures.Dimension[] get_event_sizes()
           
 edu.iris.Fissures.Plottable[] get_for_day(edu.iris.Fissures.IfNetwork.ChannelId channel_id, int year, int jday, edu.iris.Fissures.Dimension pixel_size)
           
 edu.iris.Fissures.Plottable[] get_for_event(edu.iris.Fissures.IfEvent.EventAccess event, edu.iris.Fissures.IfNetwork.ChannelId channel_id, edu.iris.Fissures.Dimension pixel_size)
           
 edu.iris.Fissures.Plottable[] get_plottable(edu.iris.Fissures.IfSeismogramDC.RequestFilter request, edu.iris.Fissures.Dimension pixel_size)
           
 edu.iris.Fissures.Dimension[] get_whole_day_sizes()
           
 edu.iris.Fissures.IfPlottable.PlottableDC getCorbaObject()
          Gets the real corba DataCenter 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.IfPlottable.PlottableDCOperations getWrappedDC()
          Returns the DataCenterOperations directly inside of this one
 edu.iris.Fissures.IfPlottable.PlottableDCOperations getWrappedDC(java.lang.Class wrappedClass)
          Traverses through all of the ProxySeismogramDCs 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
 

Constructor Detail

RetryPlottableDC

public RetryPlottableDC(NSPlottableDC plottable,
                        int retry)

RetryPlottableDC

public RetryPlottableDC(NSPlottableDC plottable,
                        RetryStrategy strat)
Method Detail

custom_sizes

public boolean custom_sizes()
Specified by:
custom_sizes in interface edu.iris.Fissures.IfPlottable.PlottableDCOperations

get_plottable

public edu.iris.Fissures.Plottable[] get_plottable(edu.iris.Fissures.IfSeismogramDC.RequestFilter request,
                                                   edu.iris.Fissures.Dimension pixel_size)
                                            throws edu.iris.Fissures.IfPlottable.PlottableNotAvailable,
                                                   edu.iris.Fissures.IfPlottable.UnsupportedDimension,
                                                   edu.iris.Fissures.NotImplemented
Specified by:
get_plottable in interface edu.iris.Fissures.IfPlottable.PlottableDCOperations
Throws:
edu.iris.Fissures.IfPlottable.PlottableNotAvailable
edu.iris.Fissures.IfPlottable.UnsupportedDimension
edu.iris.Fissures.NotImplemented

get_whole_day_sizes

public edu.iris.Fissures.Dimension[] get_whole_day_sizes()
Specified by:
get_whole_day_sizes in interface edu.iris.Fissures.IfPlottable.PlottableDCOperations

get_for_day

public edu.iris.Fissures.Plottable[] get_for_day(edu.iris.Fissures.IfNetwork.ChannelId channel_id,
                                                 int year,
                                                 int jday,
                                                 edu.iris.Fissures.Dimension pixel_size)
                                          throws edu.iris.Fissures.IfPlottable.PlottableNotAvailable,
                                                 edu.iris.Fissures.IfPlottable.UnsupportedDimension
Specified by:
get_for_day in interface edu.iris.Fissures.IfPlottable.PlottableDCOperations
Throws:
edu.iris.Fissures.IfPlottable.PlottableNotAvailable
edu.iris.Fissures.IfPlottable.UnsupportedDimension

get_event_sizes

public edu.iris.Fissures.Dimension[] get_event_sizes()
Specified by:
get_event_sizes in interface edu.iris.Fissures.IfPlottable.PlottableDCOperations

get_for_event

public edu.iris.Fissures.Plottable[] get_for_event(edu.iris.Fissures.IfEvent.EventAccess event,
                                                   edu.iris.Fissures.IfNetwork.ChannelId channel_id,
                                                   edu.iris.Fissures.Dimension pixel_size)
                                            throws edu.iris.Fissures.IfPlottable.PlottableNotAvailable,
                                                   edu.iris.Fissures.IfPlottable.UnsupportedDimension
Specified by:
get_for_event in interface edu.iris.Fissures.IfPlottable.PlottableDCOperations
Throws:
edu.iris.Fissures.IfPlottable.PlottableNotAvailable
edu.iris.Fissures.IfPlottable.UnsupportedDimension

getWrappedDC

public edu.iris.Fissures.IfPlottable.PlottableDCOperations getWrappedDC()
Description copied from interface: ProxyPlottableDC
Returns the DataCenterOperations directly inside of this one

Specified by:
getWrappedDC in interface ProxyPlottableDC

getWrappedDC

public edu.iris.Fissures.IfPlottable.PlottableDCOperations getWrappedDC(java.lang.Class wrappedClass)
Description copied from interface: ProxyPlottableDC
Traverses through all of the ProxySeismogramDCs 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 ProxyPlottableDC

reset

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

Specified by:
reset in interface CorbaServerWrapper
Specified by:
reset in interface ProxyPlottableDC

getCorbaObject

public edu.iris.Fissures.IfPlottable.PlottableDC getCorbaObject()
Description copied from interface: ProxyPlottableDC
Gets the real corba DataCenter object for which this is a proxy.

Specified by:
getCorbaObject in interface ProxyPlottableDC

getFullName

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

getServerDNS

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

getServerName

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

getServerType

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