Package org.hyperledger.fabric.sdk
Class BlockEvent.TransactionEvent
- java.lang.Object
-
- org.hyperledger.fabric.sdk.BlockInfo.EnvelopeInfo
-
- org.hyperledger.fabric.sdk.BlockInfo.TransactionEnvelopeInfo
-
- org.hyperledger.fabric.sdk.BlockEvent.TransactionEvent
-
- Enclosing class:
- BlockEvent
public class BlockEvent.TransactionEvent extends BlockInfo.TransactionEnvelopeInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hyperledger.fabric.sdk.BlockInfo.EnvelopeInfo
BlockInfo.EnvelopeInfo.IdentitiesInfo
-
Nested classes/interfaces inherited from class org.hyperledger.fabric.sdk.BlockInfo.TransactionEnvelopeInfo
BlockInfo.TransactionEnvelopeInfo.TransactionActionInfo, BlockInfo.TransactionEnvelopeInfo.TransactionActionInfoIterator, BlockInfo.TransactionEnvelopeInfo.TransactionActionIterable
-
-
Field Summary
-
Fields inherited from class org.hyperledger.fabric.sdk.BlockInfo.EnvelopeInfo
filteredTx
-
Fields inherited from class org.hyperledger.fabric.sdk.BlockInfo.TransactionEnvelopeInfo
transactionDeserializer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BlockEvent
getBlockEvent()
The BlockEvent for this TransactionEvent.EventHub
getEventHub()
Deprecated.use new peer eventing servicesgetPeer()
Peer
getPeer()
The peer that received this event.-
Methods inherited from class org.hyperledger.fabric.sdk.BlockInfo.EnvelopeInfo
getChannelId, getCreator, getEpoch, getNonce, getTimestamp, getTransactionID, getType, getValidationCode, isValid
-
Methods inherited from class org.hyperledger.fabric.sdk.BlockInfo.TransactionEnvelopeInfo
getSignature, getTransactionActionInfo, getTransactionActionInfoCount, getTransactionActionInfos
-
-
-
-
Method Detail
-
getBlockEvent
public BlockEvent getBlockEvent()
The BlockEvent for this TransactionEvent.- Returns:
- BlockEvent for this transaction.
-
getEventHub
public EventHub getEventHub()
Deprecated. use new peer eventing servicesgetPeer()
The event hub that received this event.- Returns:
- May return null if peer eventing service detected the event.
-
getPeer
public Peer getPeer()
The peer that received this event.- Returns:
- May return null if deprecated eventhubs are still being used, otherwise return the peer.
-
-