/// <summary> /// Install chunker, packstream, message reader, message handler, message encoder for protocol v1 /// </summary> public override void Install() { ChannelPipeline pipeline = _channel.rawChannel().pipeline(); pipeline.addLast(new ChunkDecoder()); pipeline.addLast(new MessageAccumulator()); pipeline.addLast(new MessageDecoder(_neo4jPack, _messageReader, _logging)); pipeline.addLast(new HouseKeeper(_connection, _logging.getInternalLog(typeof(HouseKeeper)))); }
public override Channel Channel() { return(_channel.rawChannel()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void channelShouldReturnBoltRawChannel() public virtual void ChannelShouldReturnBoltRawChannel() { BoltConnection connection = NewConnection(); assertEquals(_boltChannel.rawChannel(), connection.Channel()); }