Specifies the basic methods and properties of a Client object. This is an abstract class and must be inherited.
The Client class provides an abstract base class that represents a connection to a local client and a remote server. Descendant classes further specify the protocol that is used between those two connections.
Inheritance: IDisposable
コード例 #1
0
ファイル: Listener.cs プロジェクト: RoninWest/SocksWebProxy
 ///<summary>Removes the specified Client from the client list.</summary>
 ///<param name="client">The client to remove from the client list.</param>
 protected void RemoveClient(Client client)
 {
     Clients.Remove(client);
 }
コード例 #2
0
ファイル: Listener.cs プロジェクト: Wenqihai/Proxy
	///<summary>Removes the specified Client from the client list.</summary>
	///<param name="client">The client to remove from the client list.</param>
	protected void RemoveClient(Client client) {
		Clients.Remove(client);
	}
コード例 #3
0
ファイル: Listener.cs プロジェクト: RoninWest/SocksWebProxy
 ///<summary>Adds the specified Client to the client list.</summary>
 ///<remarks>A client will never be added twice to the list.</remarks>
 ///<param name="client">The client to add to the client list.</param>
 protected void AddClient(Client client)
 {
     if (Clients.IndexOf(client) == -1)
     Clients.Add(client);
 }
コード例 #4
0
ファイル: Listener.cs プロジェクト: Wenqihai/Proxy
	///<summary>Adds the specified Client to the client list.</summary>
	///<remarks>A client will never be added twice to the list.</remarks>
	///<param name="client">The client to add to the client list.</param>
	protected void AddClient(Client client) {
		if (Clients.IndexOf(client) == -1)
			Clients.Add(client);
	}