Package dev.vality.damsel.walker
Class WalkerSrv.AsyncProcessor.GetComments<I extends WalkerSrv.AsyncIface>
java.lang.Object
org.apache.thrift.AsyncProcessFunction<I,WalkerSrv.GetComments_args,List<Comment>>
dev.vality.damsel.walker.WalkerSrv.AsyncProcessor.GetComments<I>
- Enclosing class:
- WalkerSrv.AsyncProcessor<I extends WalkerSrv.AsyncIface>
public static class WalkerSrv.AsyncProcessor.GetComments<I extends WalkerSrv.AsyncIface>
extends org.apache.thrift.AsyncProcessFunction<I,WalkerSrv.GetComments_args,List<Comment>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid) protected booleanisOneway()voidstart(I iface, WalkerSrv.GetComments_args args, org.apache.thrift.async.AsyncMethodCallback<List<Comment>> resultHandler) Methods inherited from class org.apache.thrift.AsyncProcessFunction
getMethodName, sendResponse
-
Constructor Details
-
GetComments
public GetComments()
-
-
Method Details
-
getEmptyArgsInstance
- Specified by:
getEmptyArgsInstancein classorg.apache.thrift.AsyncProcessFunction<I extends WalkerSrv.AsyncIface,WalkerSrv.GetComments_args, List<Comment>>
-
getResultHandler
public org.apache.thrift.async.AsyncMethodCallback<List<Comment>> getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid) - Specified by:
getResultHandlerin classorg.apache.thrift.AsyncProcessFunction<I extends WalkerSrv.AsyncIface,WalkerSrv.GetComments_args, List<Comment>>
-
isOneway
protected boolean isOneway()- Specified by:
isOnewayin classorg.apache.thrift.AsyncProcessFunction<I extends WalkerSrv.AsyncIface,WalkerSrv.GetComments_args, List<Comment>>
-
start
public void start(I iface, WalkerSrv.GetComments_args args, org.apache.thrift.async.AsyncMethodCallback<List<Comment>> resultHandler) throws org.apache.thrift.TException - Specified by:
startin classorg.apache.thrift.AsyncProcessFunction<I extends WalkerSrv.AsyncIface,WalkerSrv.GetComments_args, List<Comment>> - Throws:
org.apache.thrift.TException
-