public abstract class EzySimpleDataHandler<S extends EzySession> extends EzyUserDataHandler<S>
requestFactoryactive, channel, closeSession, context, controllers, destroyed, exceptionHandlers, ignoredLogCommands, lock, maxRequestPerSecond, server, session, sessionManagementSetting, sessionManager, settings, 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 |
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) |
protected void |
doChannelInactive(com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
doHandleReceivedStreaming(byte[] bytes) |
protected void |
doNotifyAppsSessionRemoved(EzyEvent event) |
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 |
handleRequest(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray data) |
protected boolean |
isInactivatedSession() |
protected EzyEvent |
newSessionRemovedEvent(com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
notifyAppsSessionRemoved(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) |
checkToUnmapUser, newRequest, newRequestFactory, newStreamingRequestonSessionLoggedIndestroy, getUserManager, response, responseError, toStringpublic EzySimpleDataHandler(EzyServerContext ctx, S session)
public void dataReceived(EzyCommand cmd, com.tvd12.ezyfox.entity.EzyArray msg)
public void streamingReceived(byte[] bytes)
protected boolean isInactivatedSession()
public void processMaxRequestPerSecond()
protected void handleReceivedStreaming(byte[] bytes)
protected void doHandleReceivedStreaming(byte[] bytes)
protected void handleReceivedData(com.tvd12.ezyfox.constant.EzyConstant cmd,
com.tvd12.ezyfox.entity.EzyArray msg)
protected 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 exceptionCaught(Throwable cause)
public void channelInactive(com.tvd12.ezyfox.constant.EzyConstant reason)
protected void doChannelInactive(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 doNotifyAppsSessionRemoved(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 © 2024 Young Monkeys. All rights reserved.