示例#1
0
 public override SocketAddress RemoteAddress()
 {
     return(_channel.clientAddress());
 }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void remoteAddressShouldReturnBoltClientAddress()
        public virtual void RemoteAddressShouldReturnBoltClientAddress()
        {
            BoltConnection connection = NewConnection();

            assertEquals(_boltChannel.clientAddress(), connection.RemoteAddress());
        }