Class NativeFutureCallback

  • All Implemented Interfaces:
    com.google.common.util.concurrent.FutureCallback

    @Deprecated
    public class NativeFutureCallback
    extends java.lang.Object
    implements com.google.common.util.concurrent.FutureCallback
    Deprecated.
    See https://github.com/bitcoinj/bitcoinj/issues/2465
    An event listener that relays events to a native C++ object. A pointer to that object is stored in this class using JNI on the native side, thus several instances of this can point to different actual native implementations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long ptr
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void onFailure​(java.lang.Throwable throwable)
      Deprecated.
       
      void onSuccess​(java.lang.Object o)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • ptr

        public long ptr
        Deprecated.
    • Constructor Detail

      • NativeFutureCallback

        public NativeFutureCallback()
        Deprecated.
    • Method Detail

      • onSuccess

        public void onSuccess​(java.lang.Object o)
        Deprecated.
        Specified by:
        onSuccess in interface com.google.common.util.concurrent.FutureCallback
      • onFailure

        public void onFailure​(java.lang.Throwable throwable)
        Deprecated.
        Specified by:
        onFailure in interface com.google.common.util.concurrent.FutureCallback