Class EventSinkSrv.AsyncClient

java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.withdrawals.processing.EventSinkSrv.AsyncClient
All Implemented Interfaces:
EventSinkSrv.AsyncIface
Enclosing class:
EventSinkSrv

public static class EventSinkSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements EventSinkSrv.AsyncIface
  • Constructor Details

    • AsyncClient

      public AsyncClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
  • Method Details

    • getEvents

      public void getEvents​(SinkEventRange range, org.apache.thrift.async.AsyncMethodCallback<List<SinkEvent>> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getEvents in interface EventSinkSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • getLastEventID

      public void getLastEventID​(org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getLastEventID in interface EventSinkSrv.AsyncIface
      Throws:
      org.apache.thrift.TException