public class CacheNetworkAccess extends ProxyNetworkAccess
Modifier and Type | Field and Description |
---|---|
protected NetworkAttrImpl |
attr |
protected Station[] |
stations |
EVENTACCESS_TYPE, EVENTDC_TYPE, EVENTFINDER_TYPE, NETACCESS_TYPE, NETDC_TYPE, NETFINDER_TYPE, PLOTTABLEDC_TYPE, SEISDC_TYPE
Constructor and Description |
---|
CacheNetworkAccess(NetworkAccess net) |
CacheNetworkAccess(NetworkAccess net,
NetworkAttrImpl attr) |
Modifier and Type | Method and Description |
---|---|
NetworkAttrImpl |
get_attributes() |
void |
reset()
Resetting a CacheNetworkAccess clears the cache and calls reset on the
network access it's holding if it is also a ProxyNetworkAccess
|
Channel |
retrieve_channel(ChannelId id) |
Unit |
retrieve_final_units(ChannelId id,
Time the_time) |
Channel[] |
retrieve_for_station(StationId id)
retreives the channels for the stations, but uses the cached copy if it
has been previously retrieved.
|
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()
retreives the stations for the network, but uses the cached copy if it
has been previously retrieved.
|
a_writeable, get_audit_trail_for_channel, get_audit_trail_for_site, get_audit_trail_for_station, get_audit_trail, getCorbaObject, getFullName, getNetworkAccess, getServerDNS, getServerName, getServerType, locate_channels, retrieve_all_channels, retrieve_calibrations, retrieve_channels_by_code, retrieve_grouping, retrieve_groupings, retrieve_time_corrections, setNetworkAccess, toString
protected NetworkAttrImpl attr
protected Station[] stations
public CacheNetworkAccess(NetworkAccess net)
public CacheNetworkAccess(NetworkAccess net, NetworkAttrImpl attr)
public void reset()
reset
in interface CorbaServerWrapper
reset
in class ProxyNetworkAccess
public NetworkAttrImpl get_attributes()
get_attributes
in interface NetworkAccess
get_attributes
in class ProxyNetworkAccess
public Station[] retrieve_stations()
retrieve_stations
in interface NetworkAccess
retrieve_stations
in class ProxyNetworkAccess
public Channel[] retrieve_for_station(StationId id)
retrieve_for_station
in interface NetworkAccess
retrieve_for_station
in class ProxyNetworkAccess
public Channel retrieve_channel(ChannelId id) throws ChannelNotFound
retrieve_channel
in interface NetworkAccess
retrieve_channel
in class ProxyNetworkAccess
ChannelNotFound
public Instrumentation retrieve_instrumentation(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_instrumentation
in interface NetworkAccess
retrieve_instrumentation
in class ProxyNetworkAccess
ChannelNotFound
public Sensitivity retrieve_sensitivity(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_sensitivity
in class ProxyNetworkAccess
ChannelNotFound
public Unit retrieve_initial_units(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_initial_units
in class ProxyNetworkAccess
ChannelNotFound
public Unit retrieve_final_units(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_final_units
in class ProxyNetworkAccess
ChannelNotFound