public abstract class EzyAbstractDataHandler<S extends EzySession> extends com.tvd12.ezyfox.util.EzyLoggable implements EzySessionDelegate, com.tvd12.ezyfox.util.EzyDestroyable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected EzyChannel |
channel |
protected EzyCloseSession |
closeSession |
protected EzyServerContext |
context |
protected EzyServerControllers |
controllers |
protected boolean |
destroyed |
protected Map<Class<?>,com.tvd12.ezyfox.util.EzyExceptionHandler> |
exceptionHandlers |
protected Lock |
lock |
protected EzySessionManagementSetting.EzyMaxRequestPerSecond |
maxRequestPerSecond |
protected EzyServer |
server |
protected S |
session |
protected EzySessionManagementSetting |
sessionManagementSetting |
protected EzySessionManager |
sessionManager |
protected EzySettings |
settings |
protected Set<com.tvd12.ezyfox.constant.EzyConstant> |
unloggableCommands |
protected EzyUser |
user |
protected EzyZoneUserManager |
userManager |
protected EzyZoneContext |
zoneContext |
| Constructor and Description |
|---|
EzyAbstractDataHandler(EzyServerContext ctx,
S session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExceptionHandlers(Map<Class<?>,com.tvd12.ezyfox.util.EzyExceptionHandler> handlers) |
void |
destroy() |
protected EzyZoneUserManager |
getUserManager(int zoneId) |
protected void |
response(EzyResponse response) |
protected void |
responseError(EzyIError error) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonSessionLoggedInprotected S extends EzySession session
protected EzyChannel channel
protected EzyUser user
protected EzyServer server
protected EzyServerContext context
protected EzyZoneContext zoneContext
protected EzyCloseSession closeSession
protected EzyServerControllers controllers
protected EzyZoneUserManager userManager
protected EzySessionManager sessionManager
protected EzySettings settings
protected Set<com.tvd12.ezyfox.constant.EzyConstant> unloggableCommands
protected EzySessionManagementSetting sessionManagementSetting
protected EzySessionManagementSetting.EzyMaxRequestPerSecond maxRequestPerSecond
protected volatile boolean active
protected volatile boolean destroyed
protected final Lock lock
public EzyAbstractDataHandler(EzyServerContext ctx, S session)
protected EzyZoneUserManager getUserManager(int zoneId)
protected void response(EzyResponse response)
protected void responseError(EzyIError error)
protected void addExceptionHandlers(Map<Class<?>,com.tvd12.ezyfox.util.EzyExceptionHandler> handlers)
public void destroy()
destroy in interface com.tvd12.ezyfox.util.EzyDestroyableCopyright © 2021 Young Monkeys. All rights reserved.