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

Represens a TCP end point in SCS.
Наследование: ScsEndPoint
Показать файл Открыть проект Примеры использования класса

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

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