Package org.fisco.bcos.sdk.client
Interface RespCallback<T>
- Type Parameters:
T- for the response data structures in package client/response
public interface RespCallback<T>
Callback function to executed when client get response from the node.
-
Method Summary
Modifier and Type Method Description voidonError(Response errorResponse)voidonResponse(T t)onResponse is the call back function
-
Method Details
-
onResponse
onResponse is the call back function- Parameters:
t- the response data structure
-
onError
-