C# Class OpenNos.Core.Networking.Communication.Scs.Communication.EndPoints.Tcp.ScsTcpEndPoint

Represens a TCP end point in SCS.
Inheritance: ScsEndPoint
Afficher le fichier Open project: OpenNos/OpenNos Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

CreateClient() public méthode

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

CreateServer() public méthode

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

ScsTcpEndPoint() public méthode

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
Résultat System

ScsTcpEndPoint() public méthode

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
Résultat System

ScsTcpEndPoint() public méthode

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
Résultat System

ToString() public méthode

Generates a string representation of this end point object.
public ToString ( ) : string
Résultat string