Interface IAcceptNetworkClient<TNetworkClient>
Namespace: SociallyDistant.Core.OS.Network
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IAcceptNetworkClient<TNetworkClient> where TNetworkClient : INetworkClient
Type Parameters
Name | Description |
---|---|
TNetworkClient |
Methods
CreateClient(IComputer)
establishes a connection between the given device and the server.
Declaration
TNetworkClient CreateClient(IComputer clientDevice)
Parameters
Type | Name | Description |
---|---|---|
IComputer | clientDevice | The device connecting to the server. |
Returns
Type | Description |
---|---|
TNetworkClient | An instance of TNetworkClient representing the connection. The connection is closed when the client instance is disposed of. |