edu.sc.seis.fissuresUtil.cache
Class NSPlottableDC
java.lang.Object
edu.sc.seis.fissuresUtil.cache.NSPlottableDC
- All Implemented Interfaces:
- PlottableDCOperations, CorbaServerWrapper, ProxyPlottableDC, ServerNameDNS
public class NSPlottableDC
- extends java.lang.Object
- implements ServerNameDNS, ProxyPlottableDC
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plottableDC
protected java.lang.ThreadLocal<PlottableDC> plottableDC
serverDNS
protected java.lang.String serverDNS
serverName
protected java.lang.String serverName
namingService
protected FissuresNamingService namingService
NSPlottableDC
public NSPlottableDC(java.lang.String serverDNS,
java.lang.String serverName,
FissuresNamingService fissuresNamingService)
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:
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
getRealCorbaObject
public org.omg.CORBA.Object getRealCorbaObject()
getCorbaObject
public 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- Specified by:
getCorbaObject in interface ServerNameDNS
getPlottableDC
public PlottableDC getPlottableDC()
get_whole_day_sizes
public Dimension[] get_whole_day_sizes()
- Specified by:
get_whole_day_sizes in interface PlottableDCOperations
get_event_sizes
public Dimension[] get_event_sizes()
- Specified by:
get_event_sizes in interface PlottableDCOperations
get_for_day
public Plottable[] get_for_day(ChannelId chan,
int year,
int jday,
Dimension dim)
throws PlottableNotAvailable,
UnsupportedDimension
- Specified by:
get_for_day in interface PlottableDCOperations
- Throws:
PlottableNotAvailable
UnsupportedDimension
custom_sizes
public boolean custom_sizes()
- Specified by:
custom_sizes in interface PlottableDCOperations
get_for_event
public Plottable[] get_for_event(EventAccess event,
ChannelId chan,
Dimension dim)
throws PlottableNotAvailable,
UnsupportedDimension
- Specified by:
get_for_event in interface PlottableDCOperations
- Throws:
PlottableNotAvailable
UnsupportedDimension
get_plottable
public Plottable[] get_plottable(RequestFilter rf,
Dimension dim)
throws PlottableNotAvailable,
UnsupportedDimension,
NotImplemented
- Specified by:
get_plottable in interface PlottableDCOperations
- Throws:
PlottableNotAvailable
UnsupportedDimension
NotImplemented
getWrappedDC
public PlottableDCOperations getWrappedDC()
- Description copied from interface:
ProxyPlottableDC
- Returns the DataCenterOperations directly inside of this one
- Specified by:
getWrappedDC in interface ProxyPlottableDC
getWrappedDC
public 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