Package io.vertigo.audit.impl.ledger
Class LedgerManagerImpl
java.lang.Object
io.vertigo.audit.impl.ledger.LedgerManagerImpl
- All Implemented Interfaces:
LedgerManager,io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Manager
-
Constructor Summary
ConstructorsConstructorDescriptionLedgerManagerImpl(io.vertigo.commons.codec.CodecManager codecManager, LedgerPlugin ledgerPlugin) -
Method Summary
Modifier and TypeMethodDescriptionGets the current balance of the walletgetWalletBalance(LedgerAddress ledgerAddress) Gets the current balance of the provided addressvoidDaemon to unstack processes to end themSends data message on the ledger.voidsendDataAsync(String data, Runnable callback) Sends data message on the ledger asynchronously with a callback.
-
Constructor Details
-
LedgerManagerImpl
@Inject public LedgerManagerImpl(io.vertigo.commons.codec.CodecManager codecManager, LedgerPlugin ledgerPlugin)
-
-
Method Details
-
sendData
Description copied from interface:LedgerManagerSends data message on the ledger.- Specified by:
sendDatain interfaceLedgerManager- Parameters:
data-
-
sendDataAsync
Description copied from interface:LedgerManagerSends data message on the ledger asynchronously with a callback.- Specified by:
sendDataAsyncin interfaceLedgerManager- Parameters:
data-
-
pollQueue
public void pollQueue()Daemon to unstack processes to end them -
getWalletBalance
Description copied from interface:LedgerManagerGets the current balance of the provided address- Specified by:
getWalletBalancein interfaceLedgerManager- Parameters:
ledgerAddress-
-
getMyWalletBalance
Description copied from interface:LedgerManagerGets the current balance of the wallet- Specified by:
getMyWalletBalancein interfaceLedgerManager
-