Class AbstractSource

java.lang.Object
edu.sc.seis.sod.source.AbstractSource
All Implemented Interfaces:
Source
Direct Known Subclasses:
AbstractCSVSource, AbstractEventSource, AbstractNetworkSource, ConstantSeismogramSourceLocator, EventFinder, FixedDataCenter, PeriodicFakeEventSource, PlottableRequest, SimpleEventSource

public abstract class AbstractSource extends Object implements Source
  • Field Details

  • Constructor Details

    • AbstractSource

      public AbstractSource(String name)
    • AbstractSource

      public AbstractSource(String name, int retries)
    • AbstractSource

      public AbstractSource(Element config, String defaultName)
    • AbstractSource

      public AbstractSource(Element config, String defaultName, int defaultRetries)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Source
      returns the name of the server. The name to which the server's servant instance is bound in the CORBA naming service. For non-corba servers, this string can be anything that seems reasonable and is relatively unique
      Specified by:
      getName in interface Source
      Returns:
      a String value
    • getRetries

      public int getRetries()
      Specified by:
      getRetries in interface Source
    • getFissuresNamingService

      public edu.sc.seis.fissuresUtil.namingService.FissuresNamingService getFissuresNamingService()
    • getRetryStrategy

      public edu.sc.seis.fissuresUtil.cache.RetryStrategy getRetryStrategy()
    • setRetryStrategy

      public void setRetryStrategy(edu.sc.seis.fissuresUtil.cache.RetryStrategy retryStrategy)
    • appendToName

      public void appendToName(String suffix)
      Description copied from interface: Source
      Allows name to be appended to in case of conflicts with other sources.
      Specified by:
      appendToName in interface Source