public class FdsnEvent extends AbstractEventSource implements EventSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BAD_PARAM_MESSAGE |
static java.lang.String |
HOST_ELEMENT |
static java.lang.String |
PORT_ELEMENT |
static java.lang.String |
URL_ELEMENT |
caughtUpToRealtime, EVENT_LAG, EVENT_QUERY_INCREMENT, EVENT_REFRESH_INTERVAL, everCaughtUpToRealtime, increment, lag, lastQueryTime, MIN_INCREMENT, nearRealTimeInterval, NO_DNS, refreshInterval, sleepUntilTime
name, NAME_ELEMENT, RETRIES_ELEMENT
Constructor and Description |
---|
FdsnEvent(org.w3c.dom.Element config) |
FdsnEvent(edu.sc.seis.seisFile.fdsnws.FDSNEventQueryParams queryParams) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange |
getEventTimeRange() |
java.lang.String |
getUserAgent() |
boolean |
hasNext() |
java.util.List<edu.sc.seis.fissuresUtil.cache.CacheEvent> |
internalNext(edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange queryTime) |
edu.sc.seis.fissuresUtil.cache.CacheEvent[] |
next() |
protected edu.iris.Fissures.model.MicroSecondDate |
resetQueryTimeForLag()
Scoots the query time back by the event lag amount from the run
properties to the query start time at the earliest
|
void |
setUserAgent(java.lang.String userAgent) |
caughtUpWithRealtime, decreaseQueryTimeWidth, getIncrement, getLag, getQueryEdge, getQueryStart, getQueryTime, getRefreshInterval, getSleepUntilTime, getWaitBeforeNext, increaseQueryTimeWidth, isEverCaughtUpToRealtime, setIncrement, setLag, setQueryEdge, updateQueryEdge
appendToName, getFissuresNamingService, getName, getRetries, getRetryStrategy, setRetryStrategy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWaitBeforeNext
appendToName, getName, getRetries
public static final java.lang.String URL_ELEMENT
public static final java.lang.String HOST_ELEMENT
public static final java.lang.String PORT_ELEMENT
public static final java.lang.String BAD_PARAM_MESSAGE
public FdsnEvent(edu.sc.seis.seisFile.fdsnws.FDSNEventQueryParams queryParams)
public FdsnEvent(org.w3c.dom.Element config) throws ConfigurationException
ConfigurationException
public boolean hasNext()
hasNext
in interface EventSource
public edu.sc.seis.fissuresUtil.cache.CacheEvent[] next()
next
in interface EventSource
public java.util.List<edu.sc.seis.fissuresUtil.cache.CacheEvent> internalNext(edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange queryTime) throws edu.sc.seis.seisFile.SeisFileException, javax.xml.stream.XMLStreamException
edu.sc.seis.seisFile.SeisFileException
javax.xml.stream.XMLStreamException
public edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange getEventTimeRange()
getEventTimeRange
in interface EventSource
public java.lang.String getDescription()
getDescription
in interface EventSource
protected edu.iris.Fissures.model.MicroSecondDate resetQueryTimeForLag()
AbstractEventSource
resetQueryTimeForLag
in class AbstractEventSource
public java.lang.String getUserAgent()
public void setUserAgent(java.lang.String userAgent)