edu.sc.seis.fissuresUtil.cache
Class SynchronizedNetworkAccess

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.cache.ProxyNetworkAccess
      extended by edu.sc.seis.fissuresUtil.cache.SynchronizedNetworkAccess
All Implemented Interfaces:
AuditSystemAccess, ConcreteNetworkAccessOperations, NetworkAccess, CorbaServerWrapper, java.io.Serializable, org.omg.CORBA.portable.IDLEntity

public class SynchronizedNetworkAccess
extends ProxyNetworkAccess

See Also:
Serialized Form

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
SynchronizedNetworkAccess(NetworkAccess netAC)
           
 
Method Summary
 NetworkAttr get_attributes()
           
 AuditElement[] get_audit_trail_for_channel(ChannelId chanId)
           
 AuditElement[] get_audit_trail()
           
 NetworkAccess getCorbaObject()
           
 Channel[] locate_channels(Area the_area, SamplingRange sampling, OrientationRange orientation)
           
 void reset()
          If this ProxyNetworkAccess is holding onto a ProxyNetworkAccess, it calls reset on that network access.
 ChannelId[] retrieve_all_channels(int seq_max, ChannelIdIterHolder iter)
           
 Calibration[] retrieve_calibrations(ChannelId chanId, TimeRange timeRange)
           
 Channel retrieve_channel(ChannelId chanId)
           
 Channel[] retrieve_channels_by_code(java.lang.String station_code, java.lang.String site_code, java.lang.String channel_code)
           
 Channel[] retrieve_for_station(StationId stationId)
           
 ChannelId[] retrieve_grouping(ChannelId chanId)
           
 ChannelId[][] retrieve_groupings()
           
 Instrumentation retrieve_instrumentation(ChannelId chanId, Time time)
           
 Station[] retrieve_stations()
           
 TimeCorrection[] retrieve_time_corrections(ChannelId chanId, TimeRange timeRange)
           
 
Methods inherited from class edu.sc.seis.fissuresUtil.cache.ProxyNetworkAccess
a_writeable, get_audit_trail_for_site, get_audit_trail_for_station, getFullName, getNetworkAccess, getServerDNS, getServerName, getServerType, retrieve_final_units, retrieve_initial_units, retrieve_sensitivity, setNetworkAccess, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SynchronizedNetworkAccess

public SynchronizedNetworkAccess(NetworkAccess netAC)
Method Detail

reset

public void reset()
Description copied from class: ProxyNetworkAccess
If this ProxyNetworkAccess is holding onto a ProxyNetworkAccess, it calls reset on that network access. Otherwise it just falls through.

Specified by:
reset in interface CorbaServerWrapper
Overrides:
reset in class ProxyNetworkAccess

getCorbaObject

public NetworkAccess getCorbaObject()
Overrides:
getCorbaObject in class ProxyNetworkAccess

get_attributes

public NetworkAttr get_attributes()
Specified by:
get_attributes in interface NetworkAccess
Overrides:
get_attributes in class ProxyNetworkAccess

retrieve_stations

public Station[] retrieve_stations()
Specified by:
retrieve_stations in interface NetworkAccess
Overrides:
retrieve_stations in class ProxyNetworkAccess

retrieve_for_station

public Channel[] retrieve_for_station(StationId stationId)
Specified by:
retrieve_for_station in interface NetworkAccess
Overrides:
retrieve_for_station in class ProxyNetworkAccess

retrieve_grouping

public ChannelId[] retrieve_grouping(ChannelId chanId)
                              throws ChannelNotFound
Specified by:
retrieve_grouping in interface NetworkAccess
Overrides:
retrieve_grouping in class ProxyNetworkAccess
Throws:
ChannelNotFound

retrieve_groupings

public ChannelId[][] retrieve_groupings()
Specified by:
retrieve_groupings in interface NetworkAccess
Overrides:
retrieve_groupings in class ProxyNetworkAccess

retrieve_channel

public Channel retrieve_channel(ChannelId chanId)
                         throws ChannelNotFound
Specified by:
retrieve_channel in interface NetworkAccess
Overrides:
retrieve_channel in class ProxyNetworkAccess
Throws:
ChannelNotFound

retrieve_channels_by_code

public Channel[] retrieve_channels_by_code(java.lang.String station_code,
                                           java.lang.String site_code,
                                           java.lang.String channel_code)
                                    throws ChannelNotFound
Specified by:
retrieve_channels_by_code in interface NetworkAccess
Overrides:
retrieve_channels_by_code in class ProxyNetworkAccess
Throws:
ChannelNotFound

locate_channels

public Channel[] locate_channels(Area the_area,
                                 SamplingRange sampling,
                                 OrientationRange orientation)
Specified by:
locate_channels in interface NetworkAccess
Overrides:
locate_channels in class ProxyNetworkAccess

retrieve_instrumentation

public Instrumentation retrieve_instrumentation(ChannelId chanId,
                                                Time time)
                                         throws ChannelNotFound
Specified by:
retrieve_instrumentation in interface NetworkAccess
Overrides:
retrieve_instrumentation in class ProxyNetworkAccess
Throws:
ChannelNotFound

retrieve_calibrations

public Calibration[] retrieve_calibrations(ChannelId chanId,
                                           TimeRange timeRange)
                                    throws ChannelNotFound,
                                           NotImplemented
Specified by:
retrieve_calibrations in interface NetworkAccess
Overrides:
retrieve_calibrations in class ProxyNetworkAccess
Throws:
ChannelNotFound
NotImplemented

retrieve_time_corrections

public TimeCorrection[] retrieve_time_corrections(ChannelId chanId,
                                                  TimeRange timeRange)
                                           throws ChannelNotFound,
                                                  NotImplemented
Specified by:
retrieve_time_corrections in interface NetworkAccess
Overrides:
retrieve_time_corrections in class ProxyNetworkAccess
Throws:
ChannelNotFound
NotImplemented

retrieve_all_channels

public ChannelId[] retrieve_all_channels(int seq_max,
                                         ChannelIdIterHolder iter)
Specified by:
retrieve_all_channels in interface NetworkAccess
Overrides:
retrieve_all_channels in class ProxyNetworkAccess

get_audit_trail_for_channel

public AuditElement[] get_audit_trail_for_channel(ChannelId chanId)
                                           throws ChannelNotFound,
                                                  NotImplemented
Specified by:
get_audit_trail_for_channel in interface NetworkAccess
Overrides:
get_audit_trail_for_channel in class ProxyNetworkAccess
Throws:
ChannelNotFound
NotImplemented

get_audit_trail

public AuditElement[] get_audit_trail()
                               throws NotImplemented
Specified by:
get_audit_trail in interface AuditSystemAccess
Overrides:
get_audit_trail in class ProxyNetworkAccess
Throws:
NotImplemented