Record Class FlagGotDropped
java.lang.Object
java.lang.Record
dev.zwazel.internal.message.data.flag.FlagGotDropped
- Record Components:
flagId- The ID of the flag that got dropped.carrierId- The ID of the client that was carrying the flag before it got dropped.
- All Implemented Interfaces:
MessageData
Represents the message data for when a flag is dropped.
Received when a flag is dropped.
-
Constructor Summary
ConstructorsConstructorDescriptionFlagGotDropped(long flagId, long carrierId) Creates an instance of aFlagGotDroppedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecarrierIdrecord component.final booleanIndicates whether some other object is "equal to" this one.longflagId()Returns the value of theflagIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.zwazel.internal.message.MessageData
applyBeforeSend, applyOnAddingToQueue, applyOnReceive, isUnique
-
Constructor Details
-
FlagGotDropped
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
flagId
-
carrierId
-