Class WebhookManagerSrv.Client

java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.fistful.webhooker.WebhookManagerSrv.Client
All Implemented Interfaces:
WebhookManagerSrv.Iface
Enclosing class:
WebhookManagerSrv

public static class WebhookManagerSrv.Client
extends org.apache.thrift.TServiceClient
implements WebhookManagerSrv.Iface
  • Constructor Details

    • Client

      public Client​(org.apache.thrift.protocol.TProtocol prot)
    • Client

      public Client​(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
  • Method Details

    • getList

      public List<Webhook> getList​(String identity_id) throws org.apache.thrift.TException
      Specified by:
      getList in interface WebhookManagerSrv.Iface
      Throws:
      org.apache.thrift.TException
    • sendGetList

      public void sendGetList​(String identity_id) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvGetList

      public List<Webhook> recvGetList() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • get

      public Webhook get​(long webhook_id) throws WebhookNotFound, org.apache.thrift.TException
      Specified by:
      get in interface WebhookManagerSrv.Iface
      Throws:
      WebhookNotFound
      org.apache.thrift.TException
    • sendGet

      public void sendGet​(long webhook_id) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvGet

      public Webhook recvGet() throws WebhookNotFound, org.apache.thrift.TException
      Throws:
      WebhookNotFound
      org.apache.thrift.TException
    • create

      public Webhook create​(WebhookParams webhook_params) throws org.apache.thrift.TException
      Specified by:
      create in interface WebhookManagerSrv.Iface
      Throws:
      org.apache.thrift.TException
    • sendCreate

      public void sendCreate​(WebhookParams webhook_params) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvCreate

      public Webhook recvCreate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • delete

      public void delete​(long webhook_id) throws WebhookNotFound, org.apache.thrift.TException
      Specified by:
      delete in interface WebhookManagerSrv.Iface
      Throws:
      WebhookNotFound
      org.apache.thrift.TException
    • sendDelete

      public void sendDelete​(long webhook_id) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvDelete

      public void recvDelete() throws WebhookNotFound, org.apache.thrift.TException
      Throws:
      WebhookNotFound
      org.apache.thrift.TException