Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Processing.ProcessingEvent.RempIncludedIntoBlock
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Processing.ProcessingEvent.RempIncludedIntoBlock
- All Implemented Interfaces:
Processing.ProcessingEvent
- Enclosing interface:
Processing.ProcessingEvent
public static record Processing.ProcessingEvent.RempIncludedIntoBlock(String messageId, String messageDst, BigInteger timestamp, com.fasterxml.jackson.databind.JsonNode json)
extends Record
implements Processing.ProcessingEvent
Notifies the app that the message has been successfully included into a block candidate by the thread's collator
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Processing.ProcessingEvent
Processing.ProcessingEvent.DidSend, Processing.ProcessingEvent.FetchFirstBlockFailed, Processing.ProcessingEvent.FetchNextBlockFailed, Processing.ProcessingEvent.MessageExpired, Processing.ProcessingEvent.RempError, Processing.ProcessingEvent.RempIncludedIntoAcceptedBlock, Processing.ProcessingEvent.RempIncludedIntoBlock, Processing.ProcessingEvent.RempOther, Processing.ProcessingEvent.RempSentToValidators, Processing.ProcessingEvent.SendFailed, Processing.ProcessingEvent.WillFetchFirstBlock, Processing.ProcessingEvent.WillFetchNextBlock, Processing.ProcessingEvent.WillSend
-
Constructor Summary
ConstructorsConstructorDescriptionRempIncludedIntoBlock
(String messageId, String messageDst, BigInteger timestamp, com.fasterxml.jackson.databind.JsonNode json) Creates an instance of aRempIncludedIntoBlock
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNode
json()
Returns the value of thejson
record component.Returns the value of themessageDst
record component.Returns the value of themessageId
record component.Returns the value of thetimestamp
record component.final String
toString()
Returns a string representation of this record class.type()
-
Constructor Details
-
RempIncludedIntoBlock
public RempIncludedIntoBlock(String messageId, String messageDst, BigInteger timestamp, com.fasterxml.jackson.databind.JsonNode json) Creates an instance of aRempIncludedIntoBlock
record class.- Parameters:
messageId
- the value for themessageId
record componentmessageDst
- the value for themessageDst
record componenttimestamp
- the value for thetimestamp
record componentjson
- the value for thejson
record component
-
-
Method Details
-
type
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
messageId
Returns the value of themessageId
record component.- Returns:
- the value of the
messageId
record component
-
messageDst
Returns the value of themessageDst
record component.- Returns:
- the value of the
messageDst
record component
-
timestamp
Returns the value of thetimestamp
record component.- Returns:
- the value of the
timestamp
record component
-
json
public com.fasterxml.jackson.databind.JsonNode json()Returns the value of thejson
record component.- Returns:
- the value of the
json
record component
-