edu.sc.seis.fissuresUtil.mockFissures.IfNetwork
Class MockNetworkAccess

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.mockFissures.IfNetwork.MockNetworkAccess
All Implemented Interfaces:
AuditSystemAccess, NetworkAccess, java.io.Serializable, org.omg.CORBA.portable.IDLEntity

public class MockNetworkAccess
extends java.lang.Object
implements NetworkAccess

See Also:
Serialized Form

Constructor Summary
MockNetworkAccess()
           
MockNetworkAccess(NetworkAttr attributes, Station station, Channel[] channels)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockNetworkAccess

public MockNetworkAccess(NetworkAttr attributes,
                         Station station,
                         Channel[] channels)

MockNetworkAccess

public MockNetworkAccess()
Method Detail

createNetworkAccess

public static NetworkAccess createNetworkAccess()

createOtherNetworkAccess

public static NetworkAccess createOtherNetworkAccess()

createManySplendoredNetworkAccess

public static NetworkAccess createManySplendoredNetworkAccess()

retrieve_stations

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

retrieve_instrumentation

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

retrieve_channels_by_code

public Channel[] retrieve_channels_by_code(java.lang.String p1,
                                           java.lang.String p2,
                                           java.lang.String p3)
                                    throws ChannelNotFound
Specified by:
retrieve_channels_by_code in interface NetworkAccess
Throws:
ChannelNotFound

retrieve_channel

public Channel retrieve_channel(ChannelId p1)
                         throws ChannelNotFound
Specified by:
retrieve_channel in interface NetworkAccess
Throws:
ChannelNotFound

retrieve_for_station

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

get_audit_trail

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

retrieve_calibrations

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

get_audit_trail_for_channel

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

retrieve_grouping

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

retrieve_all_channels

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

retrieve_time_corrections

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

locate_channels

public Channel[] locate_channels(Area p1,
                                 SamplingRange p2,
                                 OrientationRange p3)
Specified by:
locate_channels in interface NetworkAccess

retrieve_groupings

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

get_attributes

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