Package dev.vality.damsel.walker
Class WalkerSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.walker.WalkerSrv.AsyncClient
- All Implemented Interfaces:
WalkerSrv.AsyncIface
- Enclosing class:
- WalkerSrv
public static class WalkerSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements WalkerSrv.AsyncIface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic 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 TypeMethodDescriptionvoidacceptClaim(String party_id, long claim_id, UserInformation user, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidaddComment(String party_id, long claim_id, UserInformation user, String text, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidcreateClaim(UserInformation user, String party_id, PartyModificationUnit changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) voiddenyClaim(String party_id, long claim_id, UserInformation user, String reason, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidgetActions(String party_id, long claim_id, org.apache.thrift.async.AsyncMethodCallback<List<Action>> resultHandler) voidgetClaim(String party_id, long claim_id, org.apache.thrift.async.AsyncMethodCallback<ClaimInfo> resultHandler) voidgetComments(String party_id, long claim_id, org.apache.thrift.async.AsyncMethodCallback<List<Comment>> resultHandler) voidsearchClaims(ClaimSearchRequest request, org.apache.thrift.async.AsyncMethodCallback<List<ClaimInfo>> resultHandler) voidupdateClaim(String party_id, long claim_id, UserInformation user, PartyModificationUnit changeset, int revision, 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
-
acceptClaim
public void acceptClaim(String party_id, long claim_id, UserInformation user, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
acceptClaimin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
denyClaim
public void denyClaim(String party_id, long claim_id, UserInformation user, String reason, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
denyClaimin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getClaim
public void getClaim(String party_id, long claim_id, org.apache.thrift.async.AsyncMethodCallback<ClaimInfo> resultHandler) throws org.apache.thrift.TException - Specified by:
getClaimin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createClaim
public void createClaim(UserInformation user, String party_id, PartyModificationUnit changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException - Specified by:
createClaimin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
updateClaim
public void updateClaim(String party_id, long claim_id, UserInformation user, PartyModificationUnit changeset, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
updateClaimin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
searchClaims
public void searchClaims(ClaimSearchRequest request, org.apache.thrift.async.AsyncMethodCallback<List<ClaimInfo>> resultHandler) throws org.apache.thrift.TException - Specified by:
searchClaimsin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
addComment
public void addComment(String party_id, long claim_id, UserInformation user, String text, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
addCommentin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getComments
public void getComments(String party_id, long claim_id, org.apache.thrift.async.AsyncMethodCallback<List<Comment>> resultHandler) throws org.apache.thrift.TException - Specified by:
getCommentsin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getActions
public void getActions(String party_id, long claim_id, org.apache.thrift.async.AsyncMethodCallback<List<Action>> resultHandler) throws org.apache.thrift.TException - Specified by:
getActionsin interfaceWalkerSrv.AsyncIface- Throws:
org.apache.thrift.TException
-