code: protected void addPubSubOutputHandler(PubSubOutputHandler handler)
    {
      if (iPubSubOutputHandlers == null)
        iPubSubOutputHandlers = new HashSet();
  
      // Add the PubSubOutputHandler to the list that this neighbour
      // knows about.  This is so a recovered neighbour can add the list of
      // output handlers back into the matchspace.
      iPubSubOutputHandlers.add(handler);
    }
docs: Add a PubSubOutputHandler to the list of PubSubOutputHandlers that this neighbour
  knows about.