Ejemplo n.º 1
0
        /// <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))));
        }
Ejemplo n.º 2
0
 public override Channel Channel()
 {
     return(_channel.rawChannel());
 }
Ejemplo n.º 3
0
//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());
        }