Package com.tenio.task.schedule
Class TimeOutScanTask
- java.lang.Object
-
- com.tenio.logger.AbstractLogger
-
- com.tenio.task.schedule.TimeOutScanTask
-
- All Implemented Interfaces:
ITask
public final class TimeOutScanTask extends AbstractLogger implements ITask
For a player which is in IDLE mode, that means for a long time without receiving or sending any data from the server or from a client. This task will scan those IDLE players in period time and force them to log out. Those players got a "timeout" error.- Author:
- kong
-
-
Constructor Summary
Constructors Constructor Description TimeOutScanTask(IEventManager eventManager, PlayerApi playerApi, int idleReader, int idleWriter, int timeoutScanPeriod)
-
-
-
Constructor Detail
-
TimeOutScanTask
public TimeOutScanTask(IEventManager eventManager, PlayerApi playerApi, int idleReader, int idleWriter, int timeoutScanPeriod)
-
-