Class ParityHandleImpl

  • All Implemented Interfaces:
    ParityHandle

    public class ParityHandleImpl
    extends java.lang.Object
    implements ParityHandle
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void expect​(boolean expected)
      Sets the expected result for a given authorization call that has this ParityHandle passed in as an argument.
      • Methods inherited from class java.lang.Object

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

      • ParityHandleImpl

        public ParityHandleImpl()
    • Method Detail

      • expect

        public void expect​(boolean expected)
                    throws java.io.IOException,
                           ApiException
        Description copied from interface: ParityHandle
        Sets the expected result for a given authorization call that has this ParityHandle passed in as an argument. Can only be called once per instance.
        Specified by:
        expect in interface ParityHandle
        Parameters:
        expected - the expected result of the authorization call
        Throws:
        java.io.IOException - if there's an I/O error
        ApiException - if the expected result has already been set