Record Class LauncherEvent.EventsDropped
java.lang.Object
java.lang.Record
com.botwithus.bot.api.script.LauncherEvent.EventsDropped
- Record Components:
count- how many, as far as the host can tell
- All Implemented Interfaces:
LauncherEvent
- Enclosing interface:
LauncherEvent
public static record LauncherEvent.EventsDropped(long count)
extends Record
implements LauncherEvent
Events were missed: the service's sequence skipped, or this listener fell
too far behind.
-
Nested Class Summary
Nested classes/interfaces inherited from interface LauncherEvent
LauncherEvent.AgentUpdated, LauncherEvent.ClientExited, LauncherEvent.ClientStarted, LauncherEvent.ClientStateChanged, LauncherEvent.DataPhase, LauncherEvent.DataUpdateApplied, LauncherEvent.DataUpdateAvailable, LauncherEvent.EventsDropped, LauncherEvent.ExitReason, LauncherEvent.LicenceChanged, LauncherEvent.ServiceLost, LauncherEvent.ServiceRestored, LauncherEvent.ServiceShuttingDown -
Constructor Summary
ConstructorsConstructorDescriptionEventsDropped(long count) Creates an instance of aEventsDroppedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EventsDropped
public EventsDropped(long count) Creates an instance of aEventsDroppedrecord class.- Parameters:
count- the value for thecountrecord component
-
-
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. -
count
-