Class LogoutEvent
java.lang.Object
org.tentackle.app.LogoutEvent
- All Implemented Interfaces:
MasterSerial, MasterSerialEvent
A master serial event to request a remote client logout.
-
Constructor Details
-
LogoutEvent
public LogoutEvent()
-
-
Method Details
-
setSerial
public void setSerial(long serial) Description copied from interface:MasterSerialEventSets the serial value.- Specified by:
setSerialin interfaceMasterSerialEvent- Parameters:
serial- the serial
-
serial
public long serial()Description copied from interface:MasterSerialGets the serial value.- Specified by:
serialin interfaceMasterSerial- Returns:
- the serial
-
isOverridingOlderEvents
public boolean isOverridingOlderEvents()Description copied from interface:MasterSerialEventReturns whether only the latest event counts.
Useful for events that contain status information or alike.- Specified by:
isOverridingOlderEventsin interfaceMasterSerialEvent- Returns:
- true if replace older event of this type, false to deliver each event
-