run

run(localInterface: String;
    tcpPort:        Integer;
    webSocketClass: Class) updating;

The run method of the JadeWebSocketServer class starts listening on the local interface and TCP/IP port specified in the respective localInterface and tcpPort parameters for connections from WebSocket clients and creates an instance of WebSocketClass for every new WebSocket connection.

You can use the value of the localInterface parameter to limit the interfaces on which incoming connections are accepted. To accept connections on all interfaces, the localInterface parameter must have a null ("") value.

The tcpPort parameter specifies the TCP port on which the server listens for incoming connections.

The value of the webSocketClass parameter specifies the user subclass of JadeWebSocket.