Class ChannelServiceSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.fraudbusters_notificator.ChannelServiceSrv.AsyncClient
- All Implemented Interfaces:
ChannelServiceSrv.AsyncIface
- Enclosing class:
- ChannelServiceSrv
public static class ChannelServiceSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ChannelServiceSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelServiceSrv.AsyncClient.create_callstatic classChannelServiceSrv.AsyncClient.Factorystatic classChannelServiceSrv.AsyncClient.getAll_callstatic classChannelServiceSrv.AsyncClient.getAllTypes_callstatic classChannelServiceSrv.AsyncClient.getById_callstatic classChannelServiceSrv.AsyncClient.remove_call -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and Type Method Description voidcreate(Channel channel, org.apache.thrift.async.AsyncMethodCallback<Channel> resultHandler)voidgetAll(Page page, Filter filter, org.apache.thrift.async.AsyncMethodCallback<ChannelListResponse> resultHandler)voidgetAllTypes(org.apache.thrift.async.AsyncMethodCallback<ChannelTypeListResponse> resultHandler)voidgetById(String id, org.apache.thrift.async.AsyncMethodCallback<Channel> resultHandler)voidremove(String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)Methods 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
-
create
public void create(Channel channel, org.apache.thrift.async.AsyncMethodCallback<Channel> resultHandler) throws org.apache.thrift.TException- Specified by:
createin interfaceChannelServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
remove
public void remove(String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
removein interfaceChannelServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getAll
public void getAll(Page page, Filter filter, org.apache.thrift.async.AsyncMethodCallback<ChannelListResponse> resultHandler) throws org.apache.thrift.TException- Specified by:
getAllin interfaceChannelServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getAllTypes
public void getAllTypes(org.apache.thrift.async.AsyncMethodCallback<ChannelTypeListResponse> resultHandler) throws org.apache.thrift.TException- Specified by:
getAllTypesin interfaceChannelServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getById
public void getById(String id, org.apache.thrift.async.AsyncMethodCallback<Channel> resultHandler) throws org.apache.thrift.TException- Specified by:
getByIdin interfaceChannelServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-