C# Class OpenNos.Core.Networking.Communication.Scs.Communication.Channels.Tcp.TcpConnectionListener

This class is used to listen and accept incoming TCP connection requests on a TCP port.
Inheritance: ConnectionListenerBase
Afficher le fichier Open project: OpenNos/OpenNos

Méthodes publiques

Méthode Description
Start ( ) : void

Starts listening incoming connections.

Stop ( ) : void

Stops listening incoming connections.

TcpConnectionListener ( ScsTcpEndPoint endPoint ) : System.Net.Sockets

Creates a new TcpConnectionListener for given endpoint.

Private Methods

Méthode Description
DoListenAsThread ( ) : void

Entrance point of the thread. This method is used by the thread to listen incoming requests.

StartSocket ( ) : void

Starts listening socket.

StopSocket ( ) : void

Stops listening socket.

Method Details

Start() public méthode

Starts listening incoming connections.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops listening incoming connections.
public Stop ( ) : void
Résultat void

TcpConnectionListener() public méthode

Creates a new TcpConnectionListener for given endpoint.
public TcpConnectionListener ( ScsTcpEndPoint endPoint ) : System.Net.Sockets
endPoint OpenNos.Core.Networking.Communication.Scs.Communication.EndPoints.Tcp.ScsTcpEndPoint The endpoint address of the server to listen incoming connections
Résultat System.Net.Sockets