public abstract class ServerBaseEventHandler extends ServerEventHandler
Modifier and Type | Field and Description |
---|---|
protected List<com.tvd12.ezyfox.core.structure.ServerHandlerClass> |
handlers |
context, handlerClasses
Constructor and Description |
---|
ServerBaseEventHandler(com.tvd12.ezyfox.core.content.impl.BaseAppContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Initialize
|
protected void |
notifyHandler(com.tvd12.ezyfox.core.structure.ServerHandlerClass handler)
Notify server event to handler (listener)
|
protected void |
notifyHandlers()
Notify server event to handlers (listeners)
|
eventName, initHandlerClasses
getApi, getLogger, getParentExtension, send, send, send, send, setParentExtension, trace, trace
protected List<com.tvd12.ezyfox.core.structure.ServerHandlerClass> handlers
public ServerBaseEventHandler(com.tvd12.ezyfox.core.content.impl.BaseAppContext context)
context
- the contextprotected void init()
ServerEventHandler
init
in class ServerEventHandler
ServerEventHandler.init()
protected void notifyHandlers()
protected void notifyHandler(com.tvd12.ezyfox.core.structure.ServerHandlerClass handler)
handler
- structure of handler classCopyright © 2012–2017 Young Monkeys. All rights reserved.