public interface ConnectivityManager
| Modifier and Type | Method and Description | 
|---|---|
| void | addConnectivityListener(ConnectivityListener listener)Adds a listener. | 
| int | getAvailable()Returns the numbers of available connections. | 
| String | getConnectionInfo()Returns a String representing how the service can be joined from remote
 clients. | 
| void | removeConnectivityListener(ConnectivityListener listener)Removes a listener. | 
void addConnectivityListener(ConnectivityListener listener)
listener - the listener.int getAvailable()
String getConnectionInfo()
Examples of such strings are:
192.168.0.1:4000 for a service listening on a TCP port
 on these addresses and ports.
 comm:com6;baudrate=115200 for a service listening on a
 COMM port with these parameters
 void removeConnectivityListener(ConnectivityListener listener)
listener - the listener.