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

Represens a TCP end point in SCS.
상속: ScsEndPoint
파일 보기 프로젝트 열기: OpenNos/OpenNos 1 사용 예제들

공개 메소드들

메소드 설명
CreateClient ( ) : IScsClient

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

CreateServer ( ) : IScsServer

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

ScsTcpEndPoint ( int tcpPort ) : System

Creates a new ScsTcpEndPoint object with specified port number.

ScsTcpEndPoint ( string address ) : System

Creates a new ScsTcpEndPoint from a string address. Address format must be like IPAddress:Port (For example: 127.0.0.1:10085).

ScsTcpEndPoint ( string ipAddress, int port ) : System

Creates a new ScsTcpEndPoint object with specified IP address and port number.

ToString ( ) : string

Generates a string representation of this end point object.

메소드 상세

CreateClient() 공개 메소드

Creates a Scs Client that uses this end point to connect to server.
public CreateClient ( ) : IScsClient
리턴 IScsClient

CreateServer() 공개 메소드

Creates a Scs Server that uses this end point to listen incoming connections.
public CreateServer ( ) : IScsServer
리턴 IScsServer

ScsTcpEndPoint() 공개 메소드

Creates a new ScsTcpEndPoint object with specified port number.
public ScsTcpEndPoint ( int tcpPort ) : System
tcpPort int Listening TCP Port for incoming connection requests on server
리턴 System

ScsTcpEndPoint() 공개 메소드

Creates a new ScsTcpEndPoint from a string address. Address format must be like IPAddress:Port (For example: 127.0.0.1:10085).
public ScsTcpEndPoint ( string address ) : System
address string TCP end point Address
리턴 System

ScsTcpEndPoint() 공개 메소드

Creates a new ScsTcpEndPoint object with specified IP address and port number.
public ScsTcpEndPoint ( string ipAddress, int port ) : System
ipAddress string IP address of the server
port int Listening TCP Port for incoming connection requests on server
리턴 System

ToString() 공개 메소드

Generates a string representation of this end point object.
public ToString ( ) : string
리턴 string