| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinterfaces.ConnectivityOptimizer
public abstract class ConnectivityOptimizer
A superclass for schemes for optimizing the location of possible contacts with network interfaces of a specific range
| Constructor Summary | |
|---|---|
| ConnectivityOptimizer() | |
| Method Summary | |
|---|---|
| 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 | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ConnectivityOptimizer()
| Method Detail | 
|---|
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 connected
public abstract java.util.Collection<NetworkInterface> getAllInterfaces()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||