Example usage for io.netty.channel ChannelPipeline fireChannelUnregistered

List of usage examples for io.netty.channel ChannelPipeline fireChannelUnregistered

Introduction

In this page you can find the example usage for io.netty.channel ChannelPipeline fireChannelUnregistered.

Prototype

@Override
    ChannelPipeline fireChannelUnregistered();

Source Link

Usage

From source file:alluxio.worker.netty.AbstractWriteHandlerTest.java

License:Apache License

@Test
public void UnregisteredChannelFired() throws Exception {
    ChannelPipeline p = mChannel.pipeline();
    p.fireChannelUnregistered();
}

From source file:alluxio.worker.netty.AbstractWriteHandlerTest.java

License:Apache License

@Test
public void UnregisteredChannelFiredAfterRequest() throws Exception {
    mChannel.writeInbound(newEofRequest(0));
    ChannelPipeline p = mChannel.pipeline();
    p.fireChannelUnregistered();
}

From source file:alluxio.worker.netty.ReadHandlerTest.java

License:Apache License

@Test
public void UnregisteredChannelFiredAfterRequest() throws Exception {
    populateInputFile(PACKET_SIZE * 10, 0, PACKET_SIZE * 10 - 1);
    mChannel.writeInbound(buildReadRequest(0, PACKET_SIZE * 10));
    ChannelPipeline p = mChannel.pipeline();
    p.fireChannelUnregistered();
}