C# Class ServerNetworkConnections.ClientConnectionListener

Class that is able to listen for incoming TCP requests.
Inheritance: INotifyPropertyChanged
Show file Open project: bakacaptain/istalkapp Class Usage Examples

Public Methods

Method Description
ClientConnectionListener ( UInt16 port, AbstractMessageParser parser ) : System

Constructor for ClientConnectionListener.

StartAccepting ( ) : void

Method to make the ClientConnectionListener start listening.

StopAccepting ( ) : void

Method to make the ClientConnectionListener stop listening.

Private Methods

Method Description
Go ( ) : void

Method listening for incoming connections.

Method Details

ClientConnectionListener() public method

Constructor for ClientConnectionListener.
public ClientConnectionListener ( UInt16 port, AbstractMessageParser parser ) : System
port System.UInt16 This is a UInt16 representing the port to listen to.
parser AbstractMessageParser
return System

StartAccepting() public method

Method to make the ClientConnectionListener start listening.
public StartAccepting ( ) : void
return void

StopAccepting() public method

Method to make the ClientConnectionListener stop listening.
public StopAccepting ( ) : void
return void