Class FdsnEvent

    • Constructor Detail

      • FdsnEvent

        public FdsnEvent​(edu.sc.seis.seisFile.fdsnws.FDSNEventQueryParams queryParams)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface EventSource
        Returns:
        - false when this event source will return no new events from calls to next
      • next

        public edu.sc.seis.fissuresUtil.cache.CacheEvent[] next()
        Specified by:
        next in interface EventSource
        Returns:
        - the next set of events. Events can be returned from this method multiple times
      • internalNext

        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
        Throws:
        edu.sc.seis.seisFile.SeisFileException
        javax.xml.stream.XMLStreamException
      • getEventTimeRange

        public edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange getEventTimeRange()
        Specified by:
        getEventTimeRange in interface EventSource
        Returns:
        - a MicroSecondTimeRange starting at least as early as the earliest event and ending at least as late as the latest event. No event should be returned by this source with an origin before the begin time or after the end time of this range.
      • resetQueryTimeForLag

        protected edu.iris.Fissures.model.MicroSecondDate resetQueryTimeForLag()
        Description copied from class: AbstractEventSource
        Scoots the query time back by the event lag amount from the run properties to the query start time at the earliest
        Overrides:
        resetQueryTimeForLag in class AbstractEventSource
      • getUserAgent

        public java.lang.String getUserAgent()
      • setUserAgent

        public void setUserAgent​(java.lang.String userAgent)