Rename Shadowsocks.Proxy -> Shadowsocks.ForwardProxy
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
|
||||
namespace Shadowsocks.ForwardProxy
|
||||
{
|
||||
|
||||
public interface IForwardProxy
|
||||
{
|
||||
EndPoint LocalEndPoint { get; }
|
||||
|
||||
EndPoint ProxyEndPoint { get; }
|
||||
|
||||
EndPoint DestEndPoint { get; }
|
||||
|
||||
void BeginConnectProxy(EndPoint remoteEP, AsyncCallback callback, object state);
|
||||
|
||||
void EndConnectProxy(IAsyncResult asyncResult);
|
||||
|
||||
void BeginConnectDest(EndPoint destEndPoint, AsyncCallback callback, object state);
|
||||
|
||||
void EndConnectDest(IAsyncResult asyncResult);
|
||||
|
||||
void BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback,
|
||||
object state);
|
||||
|
||||
int EndSend(IAsyncResult asyncResult);
|
||||
|
||||
void BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback,
|
||||
object state);
|
||||
|
||||
int EndReceive(IAsyncResult asyncResult);
|
||||
|
||||
void Shutdown(SocketShutdown how);
|
||||
|
||||
void Close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user