Esempio n. 1
0
 /**
  * Implements <tt>ReplyHandler</tt> interface. Returns whether this node is a leaf or an
  * Ultrapeer.
  *
  * @return <tt>true</tt> if this node is a leaf node, otherwise <tt>false</tt>
  */
 public boolean isLeafConnection() {
   return !connectionServices.isSupernode();
 }