Class AbstactEventFutureCallback<T,E>

java.lang.Object
com.luna.common.net.hander.AbstactEventFutureCallback<T,E>
All Implemented Interfaces:
org.apache.hc.core5.concurrent.FutureCallback<T>
Direct Known Subclasses:
LoggingEventSourceListener

public abstract class AbstactEventFutureCallback<T,E> extends Object implements org.apache.hc.core5.concurrent.FutureCallback<T>
Author:
luna
Description:
  • Constructor Details

    • AbstactEventFutureCallback

      public AbstactEventFutureCallback()
  • Method Details

    • onEvent

      public void onEvent(E result)
    • completed

      public void completed(T result)
      Specified by:
      completed in interface org.apache.hc.core5.concurrent.FutureCallback<T>
    • failed

      public void failed(Exception ex)
      Specified by:
      failed in interface org.apache.hc.core5.concurrent.FutureCallback<T>
    • cancelled

      public void cancelled()
      Specified by:
      cancelled in interface org.apache.hc.core5.concurrent.FutureCallback<T>