public class EthereumEventHandler
extends org.ethereum.listener.EthereumListenerAdapter
| Constructor and Description |
|---|
EthereumEventHandler(Ethereumj ethereum) |
| Modifier and Type | Method and Description |
|---|---|
org.ethereum.core.TransactionReceipt |
checkForErrors(org.ethereum.core.TransactionReceipt receipt) |
long |
getCurrentBlockNumber() |
rx.Observable<OnBlockParameters> |
observeBlocks() |
rx.Observable<OnTransactionParameters> |
observeTransactions() |
void |
onBlock(org.ethereum.core.Block block,
List<org.ethereum.core.TransactionReceipt> receipts) |
void |
onPendingTransactionUpdate(org.ethereum.core.TransactionReceipt txReceipt,
org.ethereum.listener.EthereumListener.PendingTransactionState state,
org.ethereum.core.Block block) |
CompletableFuture<Boolean> |
onReady() |
void |
onSyncDone(org.ethereum.listener.EthereumListener.SyncState syncState) |
void |
onTransactionExecuted(org.ethereum.core.TransactionExecutionSummary summary) |
onBlock, onEthStatusUpdated, onHandShakePeer, onNoConnections, onNodeDiscovered, onPeerAddedToSyncPool, onPeerDisconnect, onPendingStateChanged, onPendingTransactionsReceived, onRecvMessage, onSendMessage, onVMTraceCreated, tracepublic EthereumEventHandler(Ethereumj ethereum)
public void onBlock(org.ethereum.core.Block block,
List<org.ethereum.core.TransactionReceipt> receipts)
onBlock in class org.ethereum.listener.EthereumListenerAdapterpublic void onPendingTransactionUpdate(org.ethereum.core.TransactionReceipt txReceipt,
org.ethereum.listener.EthereumListener.PendingTransactionState state,
org.ethereum.core.Block block)
onPendingTransactionUpdate in interface org.ethereum.listener.EthereumListeneronPendingTransactionUpdate in class org.ethereum.listener.EthereumListenerAdapterpublic void onTransactionExecuted(org.ethereum.core.TransactionExecutionSummary summary)
onTransactionExecuted in interface org.ethereum.listener.EthereumListeneronTransactionExecuted in class org.ethereum.listener.EthereumListenerAdapterpublic org.ethereum.core.TransactionReceipt checkForErrors(org.ethereum.core.TransactionReceipt receipt)
public void onSyncDone(org.ethereum.listener.EthereumListener.SyncState syncState)
onSyncDone in interface org.ethereum.listener.EthereumListeneronSyncDone in class org.ethereum.listener.EthereumListenerAdapterpublic CompletableFuture<Boolean> onReady()
public long getCurrentBlockNumber()
public rx.Observable<OnBlockParameters> observeBlocks()
public rx.Observable<OnTransactionParameters> observeTransactions()
Copyright © 2017. All rights reserved.