public ConnectionRequestMessage( final String tag, final NodeAddress sourceId, final NodeAddress destID, final Payload payload) { super(tag, sourceId, destID); if (sourceId.equals(destID)) { throw new RuntimeException("can't connect to yourself!"); } this.payload = payload; }
@Override protected String getContents() { return node.toString(); }