public synchronized void setInetAddress(InetAddress addr)
    {
        if (_address != null && _address.getInetAddress() != null
                && _address.getInetAddress().equals(addr)) return;

        if (isStarted()) log.warn(this + " is started");

        if (_address == null)
            _address = new InetAddrPort(addr, 0);
        else
            _address.setInetAddress(addr);
    }
public synchronized void setInetAddress ( InetAddress addr ) { if ( _address != null && _address . getInetAddress ( ) != null && _address . getInetAddress ( ) . equals ( addr ) ) return ; if ( isStarted ( ) ) log . warn ( this + " is started" ) ; if ( _address == null ) _address = new InetAddrPort ( addr , 0 ) ; else _address . setInetAddress ( addr ) ; }
@param addr