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, toStringprotected NetworkAttrImpl attr
protected Station[] stations
public CacheNetworkAccess(NetworkAccess net)
public CacheNetworkAccess(NetworkAccess net, NetworkAttrImpl attr)
public void reset()
reset in interface CorbaServerWrapperreset in class ProxyNetworkAccesspublic NetworkAttrImpl get_attributes()
get_attributes in interface NetworkAccessget_attributes in class ProxyNetworkAccesspublic Station[] retrieve_stations()
retrieve_stations in interface NetworkAccessretrieve_stations in class ProxyNetworkAccesspublic Channel[] retrieve_for_station(StationId id)
retrieve_for_station in interface NetworkAccessretrieve_for_station in class ProxyNetworkAccesspublic Channel retrieve_channel(ChannelId id) throws ChannelNotFound
retrieve_channel in interface NetworkAccessretrieve_channel in class ProxyNetworkAccessChannelNotFoundpublic Instrumentation retrieve_instrumentation(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_instrumentation in interface NetworkAccessretrieve_instrumentation in class ProxyNetworkAccessChannelNotFoundpublic Sensitivity retrieve_sensitivity(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_sensitivity in class ProxyNetworkAccessChannelNotFoundpublic Unit retrieve_initial_units(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_initial_units in class ProxyNetworkAccessChannelNotFoundpublic Unit retrieve_final_units(ChannelId id, Time the_time) throws ChannelNotFound
retrieve_final_units in class ProxyNetworkAccessChannelNotFound