addresses.length );
}
newAddresses[addresses.length] = new InetSocketAddress( ip,
port );
ServiceConfiguration conf = new WhitePagesServiceConfiguration( newAddresses );
service.setData( conf );
} else {
InetSocketAddress[] newAddress = new InetSocketAddress[ 1 ];
newAddress[0] = new InetSocketAddress( ip,
port );
address.setObject( newAddress );
ServiceConfiguration conf = new WhitePagesServiceConfiguration( newAddress );
service.setData( conf );
}
}