Rename Shadowsocks.Proxy -> Shadowsocks.ForwardProxy

This commit is contained in:
noisyfox
2016-12-09 02:17:46 +11:00
parent 264b91d6b0
commit be3cc3f3a6
6 changed files with 17 additions and 17 deletions
@@ -7,8 +7,8 @@ using System.Timers;
using Shadowsocks.Controller.Strategy;
using Shadowsocks.Encryption;
using Shadowsocks.ForwardProxy;
using Shadowsocks.Model;
using Shadowsocks.Proxy;
using Shadowsocks.Util.Sockets;
namespace Shadowsocks.Controller
@@ -97,9 +97,9 @@ namespace Shadowsocks.Controller
{
class AsyncSession
{
public IProxy Remote { get; }
public IForwardProxy Remote { get; }
public AsyncSession(IProxy remote)
public AsyncSession(IForwardProxy remote)
{
Remote = remote;
}
@@ -109,7 +109,7 @@ namespace Shadowsocks.Controller
{
public T State { get; set; }
public AsyncSession(IProxy remote, T state) : base(remote)
public AsyncSession(IForwardProxy remote, T state) : base(remote)
{
State = state;
}
@@ -516,7 +516,7 @@ namespace Shadowsocks.Controller
CreateRemote();
// Setting up proxy
IProxy remote;
IForwardProxy remote;
EndPoint proxyEP;
if (_config.proxy.useProxy)
{