Interface MaleStringActionSocket

All Superinterfaces:
Base, Comparable<NamedBean>, Debugable, MaleSocket, NamedBean, PropertyChangeProvider, StringAction, StringActionBean
All Known Implementing Classes:
DebuggerMaleStringActionSocket, DefaultMaleStringActionSocket

public interface MaleStringActionSocket
extends MaleSocket, StringActionBean
A LogixNG male StringActionBean socket.
  • Method Details

    • setValue

      void setValue​(@Nonnull String value) throws JmriException
      Set a string value.

      This method must ensure that the value is not a Double.NaN, negative infinity or positive infinity. If that is the case, it must throw an IllegalArgumentException before checking if an error has occured.

      Specified by:
      setValue in interface StringAction
      Parameters:
      value - the value.
      Throws:
      JmriException - when an exception occurs