C# Class OpenNos.Core.Networking.Communication.Scs.Communication.EndPoints.ScsEndPoint

Represents a server side end point in SCS.
Afficher le fichier Open project: OpenNos/OpenNos Class Usage Examples

Méthodes publiques

Méthode Description
CreateClient ( ) : IScsClient

Creates a Scs Server that uses this end point to connect to server.

CreateEndPoint ( string endPointAddress ) : ScsEndPoint

Create a Scs End Point from a string. Address must be formatted as: protocol://address For example: tcp://89.43.104.179:10048 for a TCP endpoint with IP 89.43.104.179 and port 10048.

CreateServer ( ) : IScsServer

Creates a Scs Server that uses this end point to listen incoming connections.

Method Details

CreateClient() public abstract méthode

Creates a Scs Server that uses this end point to connect to server.
public abstract CreateClient ( ) : IScsClient
Résultat IScsClient

CreateEndPoint() public static méthode

Create a Scs End Point from a string. Address must be formatted as: protocol://address For example: tcp://89.43.104.179:10048 for a TCP endpoint with IP 89.43.104.179 and port 10048.
public static CreateEndPoint ( string endPointAddress ) : ScsEndPoint
endPointAddress string Address to create endpoint
Résultat ScsEndPoint

CreateServer() public abstract méthode

Creates a Scs Server that uses this end point to listen incoming connections.
public abstract CreateServer ( ) : IScsServer
Résultat IScsServer