ServerNetworkConnections.ClientConnectionListener.ClientConnectionListener C# (CSharp) Method

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
        public ClientConnectionListener(UInt16 port, AbstractMessageParser parser)
        {
            this.listener = new TCPServerConnector(port, parser);
        }