Package | Description |
---|---|
org.voovan.network |
Modifier and Type | Method and Description |
---|---|
static Event |
Event.getInstance(IoSession session,
Event.EventName name,
Object other)
活的新的实例
|
Modifier and Type | Method and Description |
---|---|
static void |
EventProcess.onAccepted(Event event)
Accept事件
|
static void |
EventProcess.onConnect(Event event)
连接成功事件 建立连接完成后出发
|
static void |
EventProcess.onDisconnect(Event event)
连接断开事件 断开后出发
|
static void |
EventProcess.onException(Event event,
Exception e)
异常产生事件 异常产生侯触发
|
static void |
EventProcess.onFlush(Event event)
发送到 Socket 缓冲区事件
|
static void |
EventProcess.onIdle(Event event)
空闲事件触发
|
static void |
EventProcess.onRead(Event event)
读取事件 在消息接受完成后触发
|
static void |
EventProcess.onSent(Event event,
Object sendObj)
发送完成事件 发送后出发
|
static void |
EventProcess.process(Event event)
处理异常
|
Copyright © 2020 Voovan. All rights reserved.