net.tomp2p.connection
Interface DiscoverNetwork

All Known Implementing Classes:
DiscoverNetwork5, DiscoverNetwork6

public interface DiscoverNetwork


Method Summary
 String discoverNetwork(NetworkInterface networkInterface, Bindings bindings)
          Discovers network interfaces and addresses.
 

Method Detail

discoverNetwork

String discoverNetwork(NetworkInterface networkInterface,
                       Bindings bindings)
Discovers network interfaces and addresses. Since we need to do it differently in Java5 and Java6 we need this interface and reflection. As soon as this library supports Java6+, then these classes will be simplified.

Parameters:
networkInterface - The networkinterface to search for addresses to listen to
bindings - The search hints and result storage.
Returns:


Copyright © 2012. All Rights Reserved.