Creates a new listener.
Number of spare connections to use simultaneously.
Timeout used to reconnect on error / when the server is not reachable.
Event is emitted after a connection between two instances has been established.
Event is emitted when the state of the connector changes. The listener handler will be called in order to have access from outside to the errors that occur on the websocket level.
Class Listens for connections through a communication server.
So the purpose of this class is almost the same as that of the websocket server, except that is doesn't accept connections directly, but through a comm-server.