Package dev.vality.damsel.webhooker
Class WebhookManagerSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
ConstructorsConstructorDescriptionAsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(WebhookParams webhook_params, org.apache.thrift.async.AsyncMethodCallback<Webhook> resultHandler) voidvoidvoidMethods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
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 party_id, org.apache.thrift.async.AsyncMethodCallback<List<Webhook>> resultHandler) throws org.apache.thrift.TException - Specified by:
getListin interfaceWebhookManagerSrv.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:
getin interfaceWebhookManagerSrv.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:
createin interfaceWebhookManagerSrv.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:
deletein interfaceWebhookManagerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-