C# Класс OpenNos.Core.Networking.Communication.Scs.Communication.EndPoints.ScsEndPoint

Represents a server side end point in SCS.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

CreateClient() публичный абстрактный Метод

Creates a Scs Server that uses this end point to connect to server.
public abstract CreateClient ( ) : IScsClient
Результат IScsClient

CreateEndPoint() публичный статический Метод

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
Результат ScsEndPoint

CreateServer() публичный абстрактный Метод

Creates a Scs Server that uses this end point to listen incoming connections.
public abstract CreateServer ( ) : IScsServer
Результат IScsServer