public class FdsnEvent extends AbstractEventSource implements EventSource
| Modifier and Type | Field and Description |
|---|---|
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, nearRealTimeInterval, NO_DNS, refreshInterval, sleepUntilTimename, 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() |
MicroSecondTimeRange |
getEventTimeRange() |
java.lang.String |
getUserAgent() |
boolean |
hasNext() |
java.util.List<CacheEvent> |
internalNext(MicroSecondTimeRange queryTime) |
CacheEvent[] |
next() |
protected 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, updateQueryEdgeappendToName, getFissuresNamingService, getName, getRetries, getRetryStrategy, setRetryStrategyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWaitBeforeNextappendToName, getName, getRetriespublic static final java.lang.String URL_ELEMENT
public static final java.lang.String HOST_ELEMENT
public static final java.lang.String PORT_ELEMENT
public FdsnEvent(edu.sc.seis.seisFile.fdsnws.FDSNEventQueryParams queryParams)
public FdsnEvent(org.w3c.dom.Element config)
throws ConfigurationException
ConfigurationExceptionpublic boolean hasNext()
hasNext in interface EventSourcepublic CacheEvent[] next()
next in interface EventSourcepublic java.util.List<CacheEvent> internalNext(MicroSecondTimeRange queryTime) throws SeisFileException, javax.xml.stream.XMLStreamException
SeisFileExceptionjavax.xml.stream.XMLStreamExceptionpublic MicroSecondTimeRange getEventTimeRange()
getEventTimeRange in interface EventSourcepublic java.lang.String getDescription()
getDescription in interface EventSourceprotected MicroSecondDate resetQueryTimeForLag()
AbstractEventSourceresetQueryTimeForLag in class AbstractEventSourcepublic java.lang.String getUserAgent()
public void setUserAgent(java.lang.String userAgent)