Пример #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public ServerNettyPipelineBuilder server(io.netty.channel.Channel channel, org.neo4j.logging.Log log) throws Exception
        public virtual ServerNettyPipelineBuilder Server(Channel channel, Log log)
        {
            return(Create(channel, NettyPipelineBuilder.Server(channel.pipeline(), log)));
        }
Пример #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setup()
        public virtual void Setup()
        {
            when(_channel.pipeline()).thenReturn(_pipeline);
            when(_ctx.channel()).thenReturn(_channel);
        }
Пример #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public ClientNettyPipelineBuilder client(io.netty.channel.Channel channel, org.neo4j.logging.Log log) throws Exception
        public virtual ClientNettyPipelineBuilder Client(Channel channel, Log log)
        {
            return(Create(channel, NettyPipelineBuilder.Client(channel.pipeline(), log)));
        }