public class MockNetworkAccess extends java.lang.Object implements NetworkAccess
Constructor and Description |
---|
MockNetworkAccess() |
MockNetworkAccess(NetworkAttr attributes,
Station station,
Channel[] channels) |
Modifier and Type | Method and Description |
---|---|
static NetworkAccess |
createManySplendoredNetworkAccess() |
static NetworkAccess |
createNetworkAccess() |
static NetworkAccess |
createOtherNetworkAccess() |
NetworkAttr |
get_attributes() |
AuditElement[] |
get_audit_trail_for_channel(ChannelId p1) |
AuditElement[] |
get_audit_trail() |
Channel[] |
locate_channels(Area p1,
SamplingRange p2,
OrientationRange p3) |
ChannelId[] |
retrieve_all_channels(int p1,
ChannelIdIterHolder p2) |
Calibration[] |
retrieve_calibrations(ChannelId p1,
TimeRange p2) |
Channel |
retrieve_channel(ChannelId p1) |
Channel[] |
retrieve_channels_by_code(java.lang.String p1,
java.lang.String p2,
java.lang.String p3) |
Channel[] |
retrieve_for_station(StationId p1) |
ChannelId[] |
retrieve_grouping(ChannelId p1) |
ChannelId[][] |
retrieve_groupings() |
Instrumentation |
retrieve_instrumentation(ChannelId p1,
Time p2) |
Station[] |
retrieve_stations() |
TimeCorrection[] |
retrieve_time_corrections(ChannelId p1,
TimeRange p2) |
public MockNetworkAccess(NetworkAttr attributes, Station station, Channel[] channels)
public MockNetworkAccess()
public static NetworkAccess createNetworkAccess()
public static NetworkAccess createOtherNetworkAccess()
public static NetworkAccess createManySplendoredNetworkAccess()
public Station[] retrieve_stations()
retrieve_stations
in interface NetworkAccess
public Instrumentation retrieve_instrumentation(ChannelId p1, Time p2) throws ChannelNotFound
retrieve_instrumentation
in interface NetworkAccess
ChannelNotFound
public Channel[] retrieve_channels_by_code(java.lang.String p1, java.lang.String p2, java.lang.String p3) throws ChannelNotFound
retrieve_channels_by_code
in interface NetworkAccess
ChannelNotFound
public Channel retrieve_channel(ChannelId p1) throws ChannelNotFound
retrieve_channel
in interface NetworkAccess
ChannelNotFound
public Channel[] retrieve_for_station(StationId p1)
retrieve_for_station
in interface NetworkAccess
public AuditElement[] get_audit_trail() throws NotImplemented
get_audit_trail
in interface AuditSystemAccess
NotImplemented
public Calibration[] retrieve_calibrations(ChannelId p1, TimeRange p2) throws ChannelNotFound, NotImplemented
retrieve_calibrations
in interface NetworkAccess
ChannelNotFound
NotImplemented
public AuditElement[] get_audit_trail_for_channel(ChannelId p1) throws ChannelNotFound, NotImplemented
get_audit_trail_for_channel
in interface NetworkAccess
ChannelNotFound
NotImplemented
public ChannelId[] retrieve_grouping(ChannelId p1) throws ChannelNotFound
retrieve_grouping
in interface NetworkAccess
ChannelNotFound
public ChannelId[] retrieve_all_channels(int p1, ChannelIdIterHolder p2)
retrieve_all_channels
in interface NetworkAccess
public TimeCorrection[] retrieve_time_corrections(ChannelId p1, TimeRange p2) throws ChannelNotFound, NotImplemented
retrieve_time_corrections
in interface NetworkAccess
ChannelNotFound
NotImplemented
public Channel[] locate_channels(Area p1, SamplingRange p2, OrientationRange p3)
locate_channels
in interface NetworkAccess
public ChannelId[][] retrieve_groupings()
retrieve_groupings
in interface NetworkAccess
public NetworkAttr get_attributes()
get_attributes
in interface NetworkAccess