public abstract class ConnectivityOptimizer
extends java.lang.Object
| Constructor and Description |
|---|
ConnectivityOptimizer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addInterface(NetworkInterface ni)
Adds a network interface to the optimizer (unless it is already present)
|
abstract void |
addInterfaces(java.util.Collection<NetworkInterface> interfaces)
Adds a collection of network interfaces to the optimizer (except of those
already added
|
abstract java.util.Collection<NetworkInterface> |
getAllInterfaces()
Finds all other interfaces that are registered to the
ConnectivityOptimizer
|
abstract java.util.Collection<NetworkInterface> |
getNearInterfaces(NetworkInterface ni)
Finds all network interfaces that might be located so that they can be
connected with the network interface
|
abstract void |
updateLocation(NetworkInterface ni)
Updates a network interface's location
|
public abstract void addInterface(NetworkInterface ni)
public abstract void addInterfaces(java.util.Collection<NetworkInterface> interfaces)
public abstract void updateLocation(NetworkInterface ni)
public abstract java.util.Collection<NetworkInterface> getNearInterfaces(NetworkInterface ni)
ni - network interface that needs to be connectedpublic abstract java.util.Collection<NetworkInterface> getAllInterfaces()