cn.hutool.socket.aio.SimpleIoAction Maven / Gradle / Ivy
package cn.hutool.socket.aio;
import java.nio.ByteBuffer;
import cn.hutool.log.StaticLog;
/**
* 简易IO信息处理类
* 简单实现了accept和failed事件
*
* @author looly
*
*/
public abstract class SimpleIoAction implements IoAction {
@Override
public void accept(AioSession session) {
}
@Override
public void failed(Throwable exc, AioSession session) {
StaticLog.error(exc);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy