Class AsyncOneResponse<T>

All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<T>, io.netty.util.concurrent.Future<T>, io.netty.util.concurrent.Promise<T>, Future<T>, RequestCallback<T>, Awaitable, Future<T>, Promise<T>

public class AsyncOneResponse<T> extends AsyncPromise<T> implements RequestCallback<T>
A callback specialized for returning a value from a single target; that is, this is for messages that we only send to one recipient.
  • Constructor Details

    • AsyncOneResponse

      public AsyncOneResponse()
  • Method Details