The Port class is responsible for starting and stopping the cluster communication and clearing the actual error registries in the master and worker processes.

Constructors

Methods

Constructors

  • Create a new instance of the Port class.

    Parameters

    • logger: LoggerInstance

      Logger instance for logging error registration and handling.

    Returns Port

Methods

  • Clear all the actual error registries

    Returns void

  • Start cluster communication

    Returns void

  • Stop cluster communication

    Returns void