NodeAddress address = bus.getAddress(); if (address == null) throw new IllegalStateException("No local address!"); return address;
return bus.getAddress();
    public NodeAddress getLocalAddress()    {        NodeAddress address = bus.getAddress();        if (address == null)            throw new IllegalStateException("No local address!");        return address;    }