Class ClaimManagementSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.claim_management.ClaimManagementSrv.AsyncClient
- All Implemented Interfaces:
ClaimManagementSrv.AsyncIface
- Enclosing class:
- ClaimManagementSrv
public static class ClaimManagementSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ClaimManagementSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClaimManagementSrv.AsyncClient.AcceptClaim_callstatic classClaimManagementSrv.AsyncClient.CreateClaim_callstatic classClaimManagementSrv.AsyncClient.DenyClaim_callstatic classClaimManagementSrv.AsyncClient.Factorystatic classClaimManagementSrv.AsyncClient.GetClaim_callstatic classClaimManagementSrv.AsyncClient.GetMetadata_callstatic classClaimManagementSrv.AsyncClient.RemoveMetadata_callstatic classClaimManagementSrv.AsyncClient.RemoveModification_callstatic classClaimManagementSrv.AsyncClient.RequestClaimChanges_callstatic classClaimManagementSrv.AsyncClient.RequestClaimReview_callstatic classClaimManagementSrv.AsyncClient.RevokeClaim_callstatic classClaimManagementSrv.AsyncClient.SearchClaims_callstatic classClaimManagementSrv.AsyncClient.SetMetadata_callstatic classClaimManagementSrv.AsyncClient.UpdateClaim_callstatic classClaimManagementSrv.AsyncClient.UpdateModification_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 voidacceptClaim(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcreateClaim(String party_id, List<Modification> changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler)voiddenyClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidgetClaim(String party_id, long id, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler)voidgetMetadata(String party_id, long id, String key, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler)voidremoveMetadata(String party_id, long id, String key, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidremoveModification(String party_id, long id, int revision, long modification_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrequestClaimChanges(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrequestClaimReview(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrevokeClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidsearchClaims(ClaimSearchQuery claim_request, org.apache.thrift.async.AsyncMethodCallback<ClaimSearchResponse> resultHandler)voidsetMetadata(String party_id, long id, String key, Value value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidupdateClaim(String party_id, long id, int revision, List<Modification> changeset, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidupdateModification(String party_id, long id, int revision, long modification_id, ModificationChange modification_change, 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
-
createClaim
public void createClaim(String party_id, List<Modification> changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException- Specified by:
createClaimin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getClaim
public void getClaim(String party_id, long id, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException- Specified by:
getClaimin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
searchClaims
public void searchClaims(ClaimSearchQuery claim_request, org.apache.thrift.async.AsyncMethodCallback<ClaimSearchResponse> resultHandler) throws org.apache.thrift.TException- Specified by:
searchClaimsin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
acceptClaim
public void acceptClaim(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
acceptClaimin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
updateClaim
public void updateClaim(String party_id, long id, int revision, List<Modification> changeset, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
updateClaimin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
updateModification
public void updateModification(String party_id, long id, int revision, long modification_id, ModificationChange modification_change, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
updateModificationin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
removeModification
public void removeModification(String party_id, long id, int revision, long modification_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
removeModificationin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
requestClaimReview
public void requestClaimReview(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
requestClaimReviewin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
requestClaimChanges
public void requestClaimChanges(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
requestClaimChangesin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
denyClaim
public void denyClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
denyClaimin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
revokeClaim
public void revokeClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
revokeClaimin interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getMetadata
public void getMetadata(String party_id, long id, String key, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException- Specified by:
getMetadatain interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
setMetadata
public void setMetadata(String party_id, long id, String key, Value value, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
setMetadatain interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
removeMetadata
public void removeMetadata(String party_id, long id, String key, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
removeMetadatain interfaceClaimManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-