edu.sc.seis.sod.source.event
Class EventDCQuerier
java.lang.Object
edu.sc.seis.sod.source.event.EventDCQuerier
public class EventDCQuerier
- extends java.lang.Object
Constructor Summary |
EventDCQuerier(java.lang.String serverName,
java.lang.String serverDNS,
int numRetries,
org.w3c.dom.Element config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EventDCQuerier
public EventDCQuerier(java.lang.String serverName,
java.lang.String serverDNS,
int numRetries,
org.w3c.dom.Element config)
throws ConfigurationException
- Throws:
ConfigurationException
getEventDC
public ProxyEventDC getEventDC()
query
public CacheEvent[] query(MicroSecondTimeRange tr)
putPassingMagFirst
public static boolean putPassingMagFirst(Origin o,
MagnitudeRange magRange)
- Reorder the magnitudes in o such that a magnitude >= minMag and <= maxMag
with a type in searchTypes is in the 0th position of the magnitudes array
- Returns:
- - True if a magnitude is found and moved into the 0th position
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getRetries
public int getRetries()