code: public PeerEventingServiceDisconnected setPeerEventingServiceDisconnected(PeerEventingServiceDisconnected newPeerEventingServiceDisconnectedHandler) {
          PeerEventingServiceDisconnected ret = disconnectedHandler;
          disconnectedHandler = newPeerEventingServiceDisconnectedHandler;
          return ret;
      }
docs: Set class to handle peer eventing service  disconnects
  
  @param newPeerEventingServiceDisconnectedHandler New handler to replace.  If set to null no retry will take place.
  @return the old handler.