edu.sc.seis.fissuresUtil.cache
Class CachePlottableDC

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

public class CachePlottableDC
extends java.lang.Object
implements ProxyPlottableDC

PlottableCache.java Created: Thu May 9 09:45:01 2002


Constructor Summary
CachePlottableDC(edu.iris.Fissures.IfPlottable.PlottableDCOperations plottableDC)
           
 
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.
 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

CachePlottableDC

public CachePlottableDC(edu.iris.Fissures.IfPlottable.PlottableDCOperations plottableDC)
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 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