Interface ElectricAcceptorNode.AcceptorHandler

    • Method Summary

      Modifier and Type Method Description
      Double onAccept(Double power) Called when the acceptor is accepting power.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onAccept

         Double onAccept(Double power)

        Called when the acceptor is accepting power. The returned value is the amount of power that was accepted, which may be less than the required power if the acceptor cannot accept all of it.