Interface MaleAnalogActionSocket

All Superinterfaces:
AnalogAction, AnalogActionBean, Base, Comparable<NamedBean>, Debugable, MaleSocket, NamedBean, PropertyChangeProvider
All Known Implementing Classes:
DebuggerMaleAnalogActionSocket, DefaultMaleAnalogActionSocket

public interface MaleAnalogActionSocket
extends MaleSocket, AnalogActionBean
A LogixNG male AnalogActionBean socket.
  • Method Details

    • setValue

      void setValue​(double value) throws JmriException
      Set an analog 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 AnalogAction
      value - the value. The male socket that holds this action ensures that this value is not Double.NaN or an infinite value.
      JmriException - when an exception occurs