/** * The local router has joined the given tunnel operating in the given state. * * @param state {"free inbound", "allocated inbound", "inactive inbound", "outbound", * "participant", "pending"} * @param tunnel tunnel joined */ public void tunnelJoined(String state, HopConfig tunnel) { if (!_doLog) return; if (tunnel == null) return; StringBuilder buf = new StringBuilder(128); buf.append(getPrefix()); buf.append("joining as [").append(state); buf.append("] to tunnel: ").append(tunnel.toString()); addEntry(buf.toString()); }