org.zodiac.sdk.simplenetty.handler.ChannelHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zodiac-sdk-nio Show documentation
Show all versions of zodiac-sdk-nio Show documentation
Zodiac SDK NIO2(New Non-Blocking IO)
package org.zodiac.sdk.simplenetty.handler;
import org.zodiac.sdk.simplenetty.enums.ChannelHandlerType;
public interface ChannelHandler {
ChannelHandlerType type();
void channelActive(ChannelHandlerContext var1) throws Exception;
void channelInactive(ChannelHandlerContext var1) throws Exception;
Object channelRead(ChannelHandlerContext var1, Object var2) throws Exception;
void channelReadComplete(ChannelHandlerContext var1) throws Exception;
Object channelWrite(ChannelHandlerContext var1, Object var2) throws Exception;
void channelWriteComplete(ChannelHandlerContext var1) throws Exception;
void exceptionCaught(ChannelHandlerContext var1, Throwable var2);
}