C# Class OpenNos.Core.Networking.Communication.Scs.Client.ScsClientFactory

This class is used to create SCS Clients to connect to a SCS server.
Exibir arquivo Open project: OpenNos/OpenNos

Public Methods

Method Description
CreateClient ( ScsEndPoint endpoint ) : IScsClient

Creates a new client to connect to a server using an end point.

CreateClient ( string endpointAddress ) : IScsClient

Creates a new client to connect to a server using an end point.

Method Details

CreateClient() public static method

Creates a new client to connect to a server using an end point.
public static CreateClient ( ScsEndPoint endpoint ) : IScsClient
endpoint OpenNos.Core.Networking.Communication.Scs.Communication.EndPoints.ScsEndPoint End point of the server to connect it
return IScsClient

CreateClient() public static method

Creates a new client to connect to a server using an end point.
public static CreateClient ( string endpointAddress ) : IScsClient
endpointAddress string End point address of the server to connect it
return IScsClient