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
    void onError​(Response errorResponse)  
    void onResponse​(T t)
    onResponse is the call back function
  • Method Details

    • onResponse

      void onResponse​(T t)
      onResponse is the call back function
      Parameters:
      t - the response data structure
    • onError

      void onError​(Response errorResponse)