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 Set<com.tvd12.ezyfox.constant.EzyConstant> |
ignoredLogCommands |
protected Lock |
lock |
protected EzySessionManagementSetting.EzyMaxRequestPerSecond |
maxRequestPerSecond |
protected EzyServer |
server |
protected S |
session |
protected EzySessionManagementSetting |
sessionManagementSetting |
protected EzySessionManager |
sessionManager |
protected EzySettings |
settings |
protected EzyUser |
user |
protected EzyZoneUserManager |
userManager |
protected EzyZoneContext |
zoneContext |
| Constructor and Description |
|---|
EzyAbstractDataHandler(EzyServerContext ctx,
S session) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected EzyZoneUserManager |
getUserManager(int zoneId) |
protected void |
response(EzyResponse response) |
protected void |
responseError() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonSessionLoggedInprotected final Lock lock
protected 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> ignoredLogCommands
protected EzySessionManagementSetting sessionManagementSetting
protected EzySessionManagementSetting.EzyMaxRequestPerSecond maxRequestPerSecond
protected volatile boolean active
protected volatile boolean destroyed
public EzyAbstractDataHandler(EzyServerContext ctx, S session)
protected EzyZoneUserManager getUserManager(int zoneId)
protected void response(EzyResponse response)
protected void responseError()
public void destroy()
destroy in interface com.tvd12.ezyfox.util.EzyDestroyableCopyright © 2024 Young Monkeys. All rights reserved.