public abstract class EzySimpleDataHandler<S extends EzySession> extends EzyUserDataHandler<S>
requestFactoryactive, channel, closeSession, context, controllers, destroyed, exceptionHandlers, lock, maxRequestPerSecond, server, session, sessionManagementSetting, sessionManager, settings, unloggableCommands, user, userManager, zoneContext| Constructor and Description |
|---|
EzySimpleDataHandler(EzyServerContext ctx,
S session) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
channelInactive0(com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
closeSession(com.tvd12.ezyfox.constant.EzyConstant reason) |
void |
dataReceived(EzyCommand cmd,
com.tvd12.ezyfox.entity.EzyArray msg) |
protected void |
debugLogReceivedData(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray data) |
void |
exceptionCaught(Throwable cause) |
protected void |
handleReceivedData(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray msg) |
protected void |
handleReceivedStreaming(byte[] bytes) |
protected void |
handleReceivedStreaming0(byte[] bytes) |
protected void |
handleRequest(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray data) |
protected EzyEvent |
newSessionRemovedEvent(com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
notifyAppsSessionRemoved(EzyEvent event) |
protected void |
notifyAppsSessionRemoved0(EzyEvent event) |
protected void |
notifyPluginsSessionRemoved(EzyEvent event) |
protected void |
notifySessionRemoved(com.tvd12.ezyfox.constant.EzyConstant reason) |
void |
processMaxRequestPerSecond() |
protected void |
removeSession() |
void |
streamingReceived(byte[] bytes) |
protected boolean |
validateSession() |
protected boolean |
validateState() |
checkToUnmapUser, newRequest, newRequestFactory, newStreamingRequestonSessionLoggedInaddExceptionHandlers, destroy, getUserManager, response, responseError, toStringpublic EzySimpleDataHandler(EzyServerContext ctx, S session)
public void dataReceived(EzyCommand cmd, com.tvd12.ezyfox.entity.EzyArray msg) throws Exception
Exceptionprotected boolean validateState()
protected boolean validateSession()
public void processMaxRequestPerSecond()
protected void handleReceivedStreaming(byte[] bytes)
throws Exception
Exceptionprotected void handleReceivedStreaming0(byte[] bytes)
throws Exception
Exceptionprotected void handleReceivedData(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray msg)
throws Exception
Exceptionprotected void debugLogReceivedData(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray data)
protected void handleRequest(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray data)
public void channelInactive(com.tvd12.ezyfox.constant.EzyConstant reason)
protected void channelInactive0(com.tvd12.ezyfox.constant.EzyConstant reason)
protected void removeSession()
protected void notifySessionRemoved(com.tvd12.ezyfox.constant.EzyConstant reason)
protected void notifyAppsSessionRemoved(EzyEvent event)
protected void notifyAppsSessionRemoved0(EzyEvent event)
protected void notifyPluginsSessionRemoved(EzyEvent event)
protected void closeSession(com.tvd12.ezyfox.constant.EzyConstant reason)
protected EzyEvent newSessionRemovedEvent(com.tvd12.ezyfox.constant.EzyConstant reason)
Copyright © 2021 Young Monkeys. All rights reserved.