Package dev.vality.damsel.message_sender
Class MessageSenderSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.message_sender.MessageSenderSrv.AsyncClient
- All Implemented Interfaces:
MessageSenderSrv.AsyncIface
- Enclosing class:
- MessageSenderSrv
public static class MessageSenderSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements MessageSenderSrv.AsyncIface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic 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 TypeMethodDescriptionvoidaddExclusionRule(MessageExclusion rule, org.apache.thrift.async.AsyncMethodCallback<MessageExclusionObject> resultHandler) voidgetExclusionRule(MessageExclusionRef ref, org.apache.thrift.async.AsyncMethodCallback<MessageExclusionObject> resultHandler) voidgetExclusionRules(ExclusionType type, org.apache.thrift.async.AsyncMethodCallback<List<MessageExclusionObject>> resultHandler) voidremoveExclusionRule(MessageExclusionRef ref, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidMethods 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
-
send
public void send(Message message, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
sendin interfaceMessageSenderSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
addExclusionRule
public void addExclusionRule(MessageExclusion rule, org.apache.thrift.async.AsyncMethodCallback<MessageExclusionObject> resultHandler) throws org.apache.thrift.TException - Specified by:
addExclusionRulein interfaceMessageSenderSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getExclusionRule
public void getExclusionRule(MessageExclusionRef ref, org.apache.thrift.async.AsyncMethodCallback<MessageExclusionObject> resultHandler) throws org.apache.thrift.TException - Specified by:
getExclusionRulein interfaceMessageSenderSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getExclusionRules
public void getExclusionRules(ExclusionType type, org.apache.thrift.async.AsyncMethodCallback<List<MessageExclusionObject>> resultHandler) throws org.apache.thrift.TException - Specified by:
getExclusionRulesin interfaceMessageSenderSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
removeExclusionRule
public void removeExclusionRule(MessageExclusionRef ref, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
removeExclusionRulein interfaceMessageSenderSrv.AsyncIface- Throws:
org.apache.thrift.TException
-