Record Class SignedMessageOutFailed<T extends BabelMessage>
java.lang.Object
java.lang.Record
pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed<T>
- Type Parameters:
T- the concrete type of the inner payload message- Record Components:
message- the signed message envelopereceiver- the intended receiver nodecause- the cause of the transmission failure
- All Implemented Interfaces:
BabelEvent, ProtocolEvent
public record SignedMessageOutFailed<T extends BabelMessage>(SignedBabelMessage<T extends BabelMessage> message, BabelNode receiver, Throwable cause)
extends Record
implements ProtocolEvent
Protocol event delivered when an outbound signed message fails to be sent.
-
Constructor Summary
ConstructorsConstructorDescriptionSignedMessageOutFailed(SignedBabelMessage<T> message, BabelNode receiver, Throwable cause) Creates an instance of aSignedMessageOutFailedrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncause()Returns the value of thecauserecord component.final 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
-
cause
-