@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { SaslUtil.safeDispose(saslClient); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) { channelGroup.remove(ctx.channel()); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { if (!id2Call.isEmpty()) { cleanupCalls(ctx, new ConnectionClosedException("Connection closed")); } conn.shutdown(); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { saslRpcClient.dispose(); saslPromise.tryFailure(new ConnectionClosedException("Connection closed")); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { SaslUtil.safeDispose(saslClient); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { if (!id2Call.isEmpty()) { cleanupCalls(ctx, new ConnectionClosedException("Connection closed")); } conn.shutdown(); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { saslRpcClient.dispose(); saslPromise.tryFailure(new ConnectionClosedException("Connection closed")); ctx.fireChannelInactive(); }
/** * Calls {@link ChannelHandlerContext#fireChannelInactive()} to forward * to the next {@link ChannelInboundHandler} in the {@link ChannelPipeline}. * * Sub-classes may override this method to change behavior. */ @Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { ctx.fireChannelInactive(); }
@Override public ChannelHandlerContext fireChannelInactive() { ctx.fireChannelInactive(); return this; }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { // Fail promise if Channel was closed promise.tryFailure(CLOSED_CHANNEL_EXCEPTION); ctx.fireChannelInactive(); } });
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { // Fail promise if Channel was closed promise.tryFailure(CLOSED_CHANNEL_EXCEPTION); ctx.fireChannelInactive(); } });
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { SaslUtil.safeDispose(saslClient); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { destroy(); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { if (!id2Call.isEmpty()) { cleanupCalls(ctx, new IOException("Connection closed")); } conn.shutdown(); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { saslRpcClient.dispose(); saslPromise.tryFailure(new IOException("Connection closed")); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) { channelGroup.remove(ctx.channel()); ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { for (Integer streamId: spdySession.activeStreams().keySet()) { removeStream(streamId, ctx.newSucceededFuture()); } ctx.fireChannelInactive(); }
@Override public void channelInactive(ChannelHandlerContext ctx) throws Exception { if (logger.isEnabled(internalLevel)) { logger.log(internalLevel, format(ctx, "INACTIVE")); } ctx.fireChannelInactive(); }
@Override public final void channelInactive(ChannelHandlerContext ctx) throws Exception { if (finished) { ctx.fireChannelInactive(); } else { // Disconnected before connected to the destination. setConnectFailure(new ProxyConnectException(exceptionMessage("disconnected"))); } }