Class ChannelApiImpl

java.lang.Object
com.kryptokrauts.aeternity.generated.api.ChannelApiImpl
All Implemented Interfaces:
ChannelApi

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

    • ChannelApiImpl

      public ChannelApiImpl()
    • ChannelApiImpl

      public ChannelApiImpl​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • getChannelByPubkey

      public void getChannelByPubkey​(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Channel>> resultHandler)
      Get channel by public key
      Specified by:
      getChannelByPubkey in interface ChannelApi
      Parameters:
      pubkey - The pubkey of the channel (required)
      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
    • postChannelCloseMutual

      public void postChannelCloseMutual​(ChannelCloseMutualTx channelCloseMutualTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_close_mutual transaction object
      Specified by:
      postChannelCloseMutual in interface ChannelApi
      Parameters:
      channelCloseMutualTx - (required)
      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
    • postChannelCloseSolo

      public void postChannelCloseSolo​(ChannelCloseSoloTx channelCloseSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_close_solo transaction object
      Specified by:
      postChannelCloseSolo in interface ChannelApi
      Parameters:
      channelCloseSoloTx - (required)
      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
    • postChannelCreate

      public void postChannelCreate​(ChannelCreateTx channelCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_create transaction object
      Specified by:
      postChannelCreate in interface ChannelApi
      Parameters:
      channelCreateTx - (required)
      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
    • postChannelDeposit

      public void postChannelDeposit​(ChannelDepositTx channelDepositTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_deposit transaction object
      Specified by:
      postChannelDeposit in interface ChannelApi
      Parameters:
      channelDepositTx - (required)
      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
    • postChannelSetDelegates

      public void postChannelSetDelegates​(ChannelSetDelegatesTx channelSetDelegatesTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_set_delegates_tx transaction object
      Specified by:
      postChannelSetDelegates in interface ChannelApi
      Parameters:
      channelSetDelegatesTx - (required)
      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
    • postChannelSettle

      public void postChannelSettle​(ChannelSettleTx channelSettleTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_settle transaction object
      Specified by:
      postChannelSettle in interface ChannelApi
      Parameters:
      channelSettleTx - (required)
      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
    • postChannelSlash

      public void postChannelSlash​(ChannelSlashTx channelSlashTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_slash transaction object
      Specified by:
      postChannelSlash in interface ChannelApi
      Parameters:
      channelSlashTx - (required)
      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
    • postChannelSnapshotSolo

      public void postChannelSnapshotSolo​(ChannelSnapshotSoloTx channelSnapshotSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_snapshot_solo transaction object
      Specified by:
      postChannelSnapshotSolo in interface ChannelApi
      Parameters:
      channelSnapshotSoloTx - (required)
      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
    • postChannelWithdraw

      public void postChannelWithdraw​(ChannelWithdrawTx channelWithdrawTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
      Get a channel_withdrawal transaction object
      Specified by:
      postChannelWithdraw in interface ChannelApi
      Parameters:
      channelWithdrawTx - (required)
      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