Class WebhookManagerSrv.AsyncClient

java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.fistful.webhooker.WebhookManagerSrv.AsyncClient
All Implemented Interfaces:
WebhookManagerSrv.AsyncIface
Enclosing class:
WebhookManagerSrv

public static class WebhookManagerSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements WebhookManagerSrv.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

    • getList

      public void getList​(String identity_id, org.apache.thrift.async.AsyncMethodCallback<List<Webhook>> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getList in interface WebhookManagerSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • get

      public void get​(long webhook_id, org.apache.thrift.async.AsyncMethodCallback<Webhook> resultHandler) throws org.apache.thrift.TException
      Specified by:
      get in interface WebhookManagerSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • create

      public void create​(WebhookParams webhook_params, org.apache.thrift.async.AsyncMethodCallback<Webhook> resultHandler) throws org.apache.thrift.TException
      Specified by:
      create in interface WebhookManagerSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • delete

      public void delete​(long webhook_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Specified by:
      delete in interface WebhookManagerSrv.AsyncIface
      Throws:
      org.apache.thrift.TException