public interface IoFilter
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(IoSession session,
Object object)
过滤器解密函数,接收事件(onRecive)前调用
onRecive事件前调用
|
Object |
encode(IoSession session,
Object object)
过滤器加密函数,发送事件(onSend)前调用
send事件前调用
|
Object decode(IoSession session, Object object) throws IoFilterException
session - session 对象object - 解码对象,上一个过滤器的返回值IoFilterException - 过滤器异常Object encode(IoSession session, Object object) throws IoFilterException
session - session 对象object - 编码对象,上一个过滤器的返回值IoFilterException - 过滤器异常Copyright © 2019 Voovan. All rights reserved.