@Override public String toString() { return getChannel().toString() + ' ' + getState() + " since " + DateFormat.getDateTimeInstance( DateFormat.SHORT, DateFormat.SHORT, Locale.US).format( new Date(getLastActivityTimeMillis())); } }
public ChannelFuture getFuture() { return succeededFuture(getChannel()); }
protected void channelIdle( ChannelHandlerContext ctx, IdleState state, long lastActivityTimeMillis) throws Exception { ctx.sendUpstream(new DefaultIdleStateEvent(ctx.getChannel(), state, lastActivityTimeMillis)); }