Package dev.vality.damsel.webhooker
Class WebhookManagerSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.webhooker.WebhookManagerSrv.Client
- All Implemented Interfaces:
WebhookManagerSrv.Iface
- Enclosing class:
- WebhookManagerSrv
public static class WebhookManagerSrv.Client
extends org.apache.thrift.TServiceClient
implements WebhookManagerSrv.Iface
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
interceptor, iprot_, oprot_, seqid_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(WebhookParams webhook_params) voiddelete(long webhook_id) get(long webhook_id) voidrecvGet()voidsendCreate(WebhookParams webhook_params) voidsendDelete(long webhook_id) voidsendGet(long webhook_id) voidsendGetList(String party_id) Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getInterceptor, getOutputProtocol, receiveBase, sendBase, sendBaseOneway, setInterceptor
-
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
- Specified by:
getListin interfaceWebhookManagerSrv.Iface- Throws:
org.apache.thrift.TException
-
sendGetList
- Throws:
org.apache.thrift.TException
-
recvGetList
- Throws:
org.apache.thrift.TException
-
get
- Specified by:
getin interfaceWebhookManagerSrv.Iface- Throws:
WebhookNotFoundorg.apache.thrift.TException
-
sendGet
public void sendGet(long webhook_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
WebhookNotFoundorg.apache.thrift.TException
-
create
public Webhook create(WebhookParams webhook_params) throws LimitExceeded, org.apache.thrift.TException - Specified by:
createin interfaceWebhookManagerSrv.Iface- Throws:
LimitExceededorg.apache.thrift.TException
-
sendCreate
- Throws:
org.apache.thrift.TException
-
recvCreate
- Throws:
LimitExceededorg.apache.thrift.TException
-
delete
- Specified by:
deletein interfaceWebhookManagerSrv.Iface- Throws:
WebhookNotFoundorg.apache.thrift.TException
-
sendDelete
public void sendDelete(long webhook_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvDelete
- Throws:
WebhookNotFoundorg.apache.thrift.TException
-