//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, FileChunk fileChunk) throws Exception protected internal override void ChannelRead0(ChannelHandlerContext ctx, FileChunk fileChunk) { if (_handler.onFileContent(fileChunk)) { _protocol.expect(CatchupClientProtocol.State.MESSAGE_TYPE); } }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, final TxPullResponse msg) protected internal override void ChannelRead0(ChannelHandlerContext ctx, TxPullResponse msg) { if (_protocol.isExpecting(CatchupClientProtocol.State.TX_PULL_RESPONSE)) { _handler.onTxPullResponse(msg); _protocol.expect(CatchupClientProtocol.State.MESSAGE_TYPE); } else { ctx.fireChannelRead(msg); } }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, final GetStoreIdResponse msg) protected internal override void ChannelRead0(ChannelHandlerContext ctx, GetStoreIdResponse msg) { _handler.onGetStoreIdResponse(msg); _protocol.expect(CatchupClientProtocol.State.MESSAGE_TYPE); }
protected internal override void ChannelRead0(ChannelHandlerContext ctx, TxStreamFinishedResponse msg) { _handler.onTxStreamFinishedResponse(msg); _protocol.expect(State.MESSAGE_TYPE); }
protected internal override void ChannelRead0(ChannelHandlerContext ctx, FileHeader fileHeader) { _log.info("Receiving file: %s", fileHeader.FileName()); _handler.onFileHeader(fileHeader); _protocol.expect(State.FILE_CONTENTS); }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, final StoreCopyFinishedResponse msg) protected internal override void ChannelRead0(ChannelHandlerContext ctx, StoreCopyFinishedResponse msg) { _handler.onFileStreamingComplete(msg); _protocol.expect(State.MESSAGE_TYPE); }