C# 클래스 OpenNos.Core.Networking.Communication.Scs.Communication.EndPoints.ScsEndPoint

Represents a server side end point in SCS.
파일 보기 프로젝트 열기: OpenNos/OpenNos 1 사용 예제들

공개 메소드들

메소드 설명
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