//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent e) throws Exception public override void WriteComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) { if (LastException != null) { outerInstance.msgLog.Error("Recovered from:", LastException); LastException = null; } base.WriteComplete(ctx, e); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent e) throws Exception public override void WriteComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) { /* * This is here to ensure that channels that have stuff written to them for a long time, long transaction * pulls and store copies (mainly the latter), will not timeout and have their transactions rolled back. * This is actually not a problem, since both mentioned above have no transaction associated with them * but it is more sanitary and leaves less exceptions in the logs * Each time a write completes, simply update the corresponding channel's timestamp. */ if (_connectedSlaveChannels.update(ctx.Channel)) { base.WriteComplete(ctx, e); } }