All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.sdk.simplenetty.handler.ChannelHandlerContext Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.sdk.simplenetty.handler;

import java.nio.ByteBuffer;

import org.zodiac.sdk.simplenetty.channel.Channel;
import org.zodiac.sdk.simplenetty.core.EventLoop;
import org.zodiac.sdk.simplenetty.core.EventLoopGroup;

public interface ChannelHandlerContext {

    EventLoop eventLoop();

    EventLoopGroup eventLoopGroup();

    ChannelPipeline pipeline();

    Channel channel();

    void handlerAdded(ChannelHandler handler) throws Exception;

    void handlerRemoved(ChannelHandler handler) throws Exception;

    void fireActive() throws Exception;

    void fireInactive() throws Exception;

    void fireRead(Object var2) throws Exception;

    void fireReadComplete() throws Exception;

    void fireWrite(Object var2) throws Exception;

    void fireWriteComplete() throws Exception;

    void fireExceptionCaught(Throwable var2);

    void writeAndFlush(ByteBuffer buffer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy