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 Summary
Constructors Constructor Description ChannelApiImpl()
ChannelApiImpl(ApiClient apiClient)
-
Method Summary
Modifier and Type Method Description ApiClient
getApiClient()
void
getChannelByPubkey(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Channel>> resultHandler)
Get channel by public keyvoid
postChannelCloseMutual(ChannelCloseMutualTx channelCloseMutualTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_close_mutual transaction objectvoid
postChannelCloseSolo(ChannelCloseSoloTx channelCloseSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_close_solo transaction objectvoid
postChannelCreate(ChannelCreateTx channelCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_create transaction objectvoid
postChannelDeposit(ChannelDepositTx channelDepositTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_deposit transaction objectvoid
postChannelSetDelegates(ChannelSetDelegatesTx channelSetDelegatesTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_set_delegates_tx transaction objectvoid
postChannelSettle(ChannelSettleTx channelSettleTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_settle transaction objectvoid
postChannelSlash(ChannelSlashTx channelSlashTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_slash transaction objectvoid
postChannelSnapshotSolo(ChannelSnapshotSoloTx channelSnapshotSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_snapshot_solo transaction objectvoid
postChannelWithdraw(ChannelWithdrawTx channelWithdrawTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_withdrawal transaction objectvoid
setApiClient(ApiClient apiClient)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChannelApiImpl
public ChannelApiImpl() -
ChannelApiImpl
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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 interfaceChannelApi
- 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
-