void timedOut(ChannelHandlerContext ctx)
{
Constants.ahessianLogger.info("write timed out -> send empty buffer heartbeat");
ChannelFuture future = Channels.future(_ctx.getChannel());
ChannelBuffer b = ChannelBuffers.buffer(1);
b.writeByte(0);
_ctx.sendDownstream(new DownstreamMessageEvent(_ctx.getChannel(), future, b, _ctx.getChannel().getRemoteAddress()));
}
public void writeRequested(ChannelHandlerContext ctx, MessageEvent e) throws Exception {
ping();