edu.sc.seis.fissuresUtil.cache
Class RetryNetworkAccess
java.lang.Object
edu.sc.seis.fissuresUtil.cache.ProxyNetworkAccess
edu.sc.seis.fissuresUtil.cache.RetryNetworkAccess
- All Implemented Interfaces:
- AuditSystemAccess, ConcreteNetworkAccessOperations, NetworkAccess, CorbaServerWrapper, java.io.Serializable, org.omg.CORBA.portable.IDLEntity
public class RetryNetworkAccess
- extends ProxyNetworkAccess
Just a pass thru class for the remote networkAccess, but this will retry if
there are errors, up to the specified number. This can help in the case of
temporary network/server errors, but may simply waste time in the case of
bigger errors.
- See Also:
- Serialized Form
| Methods inherited from class edu.sc.seis.fissuresUtil.cache.ProxyNetworkAccess |
a_writeable, get_audit_trail_for_site, get_audit_trail_for_station, getCorbaObject, getFullName, getNetworkAccess, getServerDNS, getServerName, getServerType, reset, 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 |
RetryNetworkAccess
public RetryNetworkAccess(NetworkAccess net,
int retry)
RetryNetworkAccess
public RetryNetworkAccess(NetworkAccess net,
RetryStrategy handler)
get_attributes
public NetworkAttr get_attributes()
- Specified by:
get_attributes in interface NetworkAccess- Overrides:
get_attributes in class ProxyNetworkAccess
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- 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
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_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
retrieve_calibrations
public Calibration[] retrieve_calibrations(ChannelId id,
TimeRange the_time)
throws ChannelNotFound,
NotImplemented
- Specified by:
retrieve_calibrations in interface NetworkAccess- Overrides:
retrieve_calibrations in class ProxyNetworkAccess
- Throws:
ChannelNotFound
NotImplemented
retrieve_channel
public Channel retrieve_channel(ChannelId id)
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
retrieve_for_station
public Channel[] retrieve_for_station(StationId p1)
- Specified by:
retrieve_for_station in interface NetworkAccess- Overrides:
retrieve_for_station in class ProxyNetworkAccess
retrieve_grouping
public ChannelId[] retrieve_grouping(ChannelId id)
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_instrumentation
public Instrumentation retrieve_instrumentation(ChannelId id,
Time the_time)
throws ChannelNotFound
- Specified by:
retrieve_instrumentation in interface NetworkAccess- Overrides:
retrieve_instrumentation in class ProxyNetworkAccess
- Throws:
ChannelNotFound
retrieve_stations
public Station[] retrieve_stations()
- Specified by:
retrieve_stations in interface NetworkAccess- Overrides:
retrieve_stations in class ProxyNetworkAccess
retrieve_time_corrections
public TimeCorrection[] retrieve_time_corrections(ChannelId id,
TimeRange time_range)
throws ChannelNotFound,
NotImplemented
- Specified by:
retrieve_time_corrections in interface NetworkAccess- Overrides:
retrieve_time_corrections in class ProxyNetworkAccess
- Throws:
ChannelNotFound
NotImplemented