Class NotificationServiceSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.fraudbusters_notificator.NotificationServiceSrv.AsyncClient
- All Implemented Interfaces:
NotificationServiceSrv.AsyncIface
- Enclosing class:
- NotificationServiceSrv
public static class NotificationServiceSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements NotificationServiceSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationServiceSrv.AsyncClient.create_callstatic classNotificationServiceSrv.AsyncClient.Factorystatic classNotificationServiceSrv.AsyncClient.getAll_callstatic classNotificationServiceSrv.AsyncClient.getById_callstatic classNotificationServiceSrv.AsyncClient.remove_callstatic classNotificationServiceSrv.AsyncClient.updateStatus_callstatic classNotificationServiceSrv.AsyncClient.validate_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(Notification notification, org.apache.thrift.async.AsyncMethodCallback<Notification> resultHandler)voidgetAll(Page page, Filter filter, org.apache.thrift.async.AsyncMethodCallback<NotificationListResponse> resultHandler)voidgetById(long id, org.apache.thrift.async.AsyncMethodCallback<Notification> resultHandler)voidremove(long id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidupdateStatus(long id, NotificationStatus notification_status, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidvalidate(Notification notification, org.apache.thrift.async.AsyncMethodCallback<ValidationResponse> 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(Notification notification, org.apache.thrift.async.AsyncMethodCallback<Notification> resultHandler) throws org.apache.thrift.TException- Specified by:
createin interfaceNotificationServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
remove
public void remove(long id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
removein interfaceNotificationServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
updateStatus
public void updateStatus(long id, NotificationStatus notification_status, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
updateStatusin interfaceNotificationServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
validate
public void validate(Notification notification, org.apache.thrift.async.AsyncMethodCallback<ValidationResponse> resultHandler) throws org.apache.thrift.TException- Specified by:
validatein interfaceNotificationServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getAll
public void getAll(Page page, Filter filter, org.apache.thrift.async.AsyncMethodCallback<NotificationListResponse> resultHandler) throws org.apache.thrift.TException- Specified by:
getAllin interfaceNotificationServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getById
public void getById(long id, org.apache.thrift.async.AsyncMethodCallback<Notification> resultHandler) throws org.apache.thrift.TException- Specified by:
getByIdin interfaceNotificationServiceSrv.AsyncIface- Throws:
org.apache.thrift.TException
-