edu.sc.seis.fissuresUtil.cache
Class ProxyNetworkAccess

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

public abstract class ProxyNetworkAccess
extends java.lang.Object
implements NetworkAccess, ConcreteNetworkAccessOperations, CorbaServerWrapper

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
ProxyNetworkAccess(NetworkAccess net)
           
 
Method Summary
 ConcreteNetwork a_writeable()
           
 NetworkAttr get_attributes()
           
 AuditElement[] get_audit_trail_for_channel(ChannelId id)
           
 AuditElement[] get_audit_trail_for_site(SiteId id)
           
 AuditElement[] get_audit_trail_for_station(StationId id)
           
 AuditElement[] get_audit_trail()
           
 NetworkAccess getCorbaObject()
           
 java.lang.String getFullName()
           
 NetworkAccess getNetworkAccess()
           
 java.lang.String getServerDNS()
           
 java.lang.String getServerName()
           
 java.lang.String getServerType()
           
 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 id, TimeRange the_time)
           
 Channel retrieve_channel(ChannelId id)
           
 Channel[] retrieve_channels_by_code(java.lang.String station_code, java.lang.String site_code, java.lang.String channel_code)
           
 Unit retrieve_final_units(ChannelId id, Time the_time)
           
 Channel[] retrieve_for_station(StationId p1)
           
 ChannelId[] retrieve_grouping(ChannelId id)
           
 ChannelId[][] retrieve_groupings()
           
 Unit retrieve_initial_units(ChannelId id, Time the_time)
           
 Instrumentation retrieve_instrumentation(ChannelId id, Time the_time)
           
 Sensitivity retrieve_sensitivity(ChannelId id, Time the_time)
           
 Station[] retrieve_stations()
           
 TimeCorrection[] retrieve_time_corrections(ChannelId id, TimeRange time_range)
           
protected  void setNetworkAccess(NetworkAccess na)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyNetworkAccess

public ProxyNetworkAccess(NetworkAccess net)
Method Detail

reset

public void reset()
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

getCorbaObject

public NetworkAccess getCorbaObject()

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

setNetworkAccess

protected void setNetworkAccess(NetworkAccess na)

get_attributes

public NetworkAttr get_attributes()
Specified by:
get_attributes in interface NetworkAccess

retrieve_stations

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

retrieve_for_station

public Channel[] retrieve_for_station(StationId p1)
Specified by:
retrieve_for_station in interface NetworkAccess

retrieve_grouping

public ChannelId[] retrieve_grouping(ChannelId id)
                              throws ChannelNotFound
Specified by:
retrieve_grouping in interface NetworkAccess
Throws:
ChannelNotFound

retrieve_groupings

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

retrieve_channel

public Channel retrieve_channel(ChannelId id)
                         throws ChannelNotFound
Specified by:
retrieve_channel in interface NetworkAccess
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
Throws:
ChannelNotFound

locate_channels

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

retrieve_instrumentation

public Instrumentation retrieve_instrumentation(ChannelId id,
                                                Time the_time)
                                         throws ChannelNotFound
Specified by:
retrieve_instrumentation in interface NetworkAccess
Throws:
ChannelNotFound

retrieve_sensitivity

public Sensitivity retrieve_sensitivity(ChannelId id,
                                        Time the_time)
                                 throws ChannelNotFound
Throws:
ChannelNotFound

retrieve_initial_units

public Unit retrieve_initial_units(ChannelId id,
                                   Time the_time)
                            throws ChannelNotFound
Throws:
ChannelNotFound

retrieve_final_units

public Unit retrieve_final_units(ChannelId id,
                                 Time the_time)
                          throws ChannelNotFound
Throws:
ChannelNotFound

retrieve_calibrations

public Calibration[] retrieve_calibrations(ChannelId id,
                                           TimeRange the_time)
                                    throws ChannelNotFound,
                                           NotImplemented
Specified by:
retrieve_calibrations in interface NetworkAccess
Throws:
ChannelNotFound
NotImplemented

retrieve_time_corrections

public TimeCorrection[] retrieve_time_corrections(ChannelId id,
                                                  TimeRange time_range)
                                           throws ChannelNotFound,
                                                  NotImplemented
Specified by:
retrieve_time_corrections in interface NetworkAccess
Throws:
ChannelNotFound
NotImplemented

retrieve_all_channels

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

get_audit_trail_for_channel

public AuditElement[] get_audit_trail_for_channel(ChannelId id)
                                           throws ChannelNotFound,
                                                  NotImplemented
Specified by:
get_audit_trail_for_channel in interface NetworkAccess
Throws:
ChannelNotFound
NotImplemented

get_audit_trail

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

getNetworkAccess

public NetworkAccess getNetworkAccess()

a_writeable

public ConcreteNetwork a_writeable()
Specified by:
a_writeable in interface ConcreteNetworkAccessOperations

get_audit_trail_for_site

public AuditElement[] get_audit_trail_for_site(SiteId id)
                                        throws SiteNotFound,
                                               NotImplemented
Specified by:
get_audit_trail_for_site in interface ConcreteNetworkAccessOperations
Throws:
SiteNotFound
NotImplemented

get_audit_trail_for_station

public AuditElement[] get_audit_trail_for_station(StationId id)
                                           throws StationNotFound,
                                                  NotImplemented
Specified by:
get_audit_trail_for_station in interface ConcreteNetworkAccessOperations
Throws:
StationNotFound
NotImplemented

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object