public interface CommitListener
限定符和类型 | 方法和说明 |
---|---|
void |
acceptCommit(org.hyperledger.fabric.sdk.BlockEvent.TransactionEvent transactionEvent)
Called to notify the listener that a given peer has processed a transaction.
|
void |
acceptDisconnect(PeerDisconnectEvent disconnectEvent)
Called to notify the listener of a communication failure with a given peer.
|
void acceptCommit(org.hyperledger.fabric.sdk.BlockEvent.TransactionEvent transactionEvent)
transactionEvent
- Transaction event information.void acceptDisconnect(PeerDisconnectEvent disconnectEvent)
disconnectEvent
- Disconnect event information.Copyright © 2023. All rights reserved.