Class NodeInfoApiImpl

java.lang.Object
com.kryptokrauts.aeternity.generated.api.NodeInfoApiImpl
All Implemented Interfaces:
NodeInfoApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class NodeInfoApiImpl
extends java.lang.Object
implements NodeInfoApi
  • Constructor Summary

    Constructors
    Constructor Description
    NodeInfoApiImpl()  
    NodeInfoApiImpl​(ApiClient apiClient)  
  • Method Summary

    Modifier and Type Method Description
    ApiClient getApiClient()  
    void getNetworkStatus​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<java.lang.String,​PeerDetails>>> resultHandler)
    Get detailed analytics on peers
    void getNodeBeneficiary​(io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)
    Get node's beneficiary public key
    void getNodePubkey​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)
    Get node's public key
    void getPeerPubkey​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PeerPubKey>> resultHandler)
    Get peer public key
    void getPeers​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Peers>> resultHandler)
    Get node Peers
    void getStatus​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)
    Get the status of a node
    void setApiClient​(ApiClient apiClient)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NodeInfoApiImpl

      public NodeInfoApiImpl()
    • NodeInfoApiImpl

      public NodeInfoApiImpl​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • getNetworkStatus

      public void getNetworkStatus​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<java.lang.String,​PeerDetails>>> resultHandler)
      Get detailed analytics on peers
      Specified by:
      getNetworkStatus in interface NodeInfoApi
      Parameters:
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getNodeBeneficiary

      public void getNodeBeneficiary​(io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)
      Get node's beneficiary public key
      Specified by:
      getNodeBeneficiary in interface NodeInfoApi
      Parameters:
      resultHandler - Asynchronous result handler
    • getNodePubkey

      public void getNodePubkey​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)
      Get node's public key
      Specified by:
      getNodePubkey in interface NodeInfoApi
      Parameters:
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getPeerPubkey

      public void getPeerPubkey​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PeerPubKey>> resultHandler)
      Get peer public key
      Specified by:
      getPeerPubkey in interface NodeInfoApi
      Parameters:
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getPeers

      public void getPeers​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Peers>> resultHandler)
      Get node Peers
      Specified by:
      getPeers in interface NodeInfoApi
      Parameters:
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler
    • getStatus

      public void getStatus​(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Status>> resultHandler)
      Get the status of a node
      Specified by:
      getStatus in interface NodeInfoApi
      Parameters:
      intAsString - If this flag is set to true, the response will have all integers set as strings (optional, default to false)
      resultHandler - Asynchronous result handler