Record Class SignedMessageOutSuccess<T extends BabelMessage>
java.lang.Object
java.lang.Record
pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess<T>
- Type Parameters:
T- the concrete type of the inner payload message- Record Components:
message- the signed message envelopereceiver- the receiver node that accepted the message
- All Implemented Interfaces:
BabelEvent, ProtocolEvent
public record SignedMessageOutSuccess<T extends BabelMessage>(SignedBabelMessage<T extends BabelMessage> message, BabelNode receiver)
extends Record
implements ProtocolEvent
Protocol event delivered when an outbound signed message is successfully sent.
-
Constructor Summary
ConstructorsConstructorDescriptionSignedMessageOutSuccess(SignedBabelMessage<T> message, BabelNode receiver) Creates an instance of aSignedMessageOutSuccessrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.receiver()Returns the value of thereceiverrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
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). -
message
-
receiver
-