beginListening
beginListening();
The beginListening method of the JadeMultiWorkerTcpTransport class attaches the calling process to the transport group and creates the group if it does not exist.
A worker can join an existing group only if:
-
It has the same full name (that is, the values of the localAddress and localPortnumber properties)
-
It uses exactly the same JadeMultiWorkerTcpTransport class (or subclass)
-
The validateServerProcess method returns true, to ensure that this worker connection can be accepted
Subsequent calls to the beginListening method ensure that the listen connection is open (that is, it undoes a stopListening method call).