Beispiel #1
0
 public HandshakeResponse respond(HandshakeResponse response, boolean outgoing) {
   Properties props = new Properties();
   return HandshakeResponse.createResponse(props);
 }
Beispiel #2
0
 public HandshakeResponse respond(HandshakeResponse response, boolean outgoing) {
   Properties props = headersFactory.createUltrapeerHeaders("127.0.0.1");
   props.put(HeaderNames.X_DEGREE, "42");
   return HandshakeResponse.createResponse(props);
 }