code: public void publish(Item item, String node) throws NotConnectedException, InterruptedException,
                      NoResponseException, XMPPErrorException, NotAPubSubNodeException, NotALeafNodeException {
          LeafNode pubSubNode = pepPubSubManager.getLeafNode(node);
          pubSubNode.publish(item);
      }
docs: Publish an event.
  
  @param item the item to publish.
  @param node the node to publish on.
  @throws NotConnectedException
  @throws InterruptedException
  @throws XMPPErrorException
  @throws NoResponseException
  @throws NotAPubSubNodeException
  @throws NotALeafNodeException