List of usage examples for io.netty.channel ChannelPipeline fireChannelUnregistered
@Override ChannelPipeline fireChannelUnregistered();
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(); }