public class RemoteCommandCommPopulator
extends java.lang.Object
implements ej.rcommand.connectivity.ConnectivityManager
| Constructor and Description |
|---|
RemoteCommandCommPopulator(java.lang.String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectivityListener(ej.rcommand.connectivity.ConnectivityListener listener) |
int |
getAvailable() |
java.lang.String |
getConnectionInfo() |
void |
removeConnectivityListener(ej.rcommand.connectivity.ConnectivityListener listener) |
void |
start(ej.rcommand.RemoteCommandManager commandManager)
Creates the comm connection and adds it in the given remote command
manager.
|
void |
stop()
Stops the reading of the comm connection and closes it.
|
public RemoteCommandCommPopulator(java.lang.String connectionString)
connectionString - the connection string of the comm connection to create.public void start(ej.rcommand.RemoteCommandManager commandManager)
throws java.io.IOException
commandManager - the command manager to use to manage the created comm
connection.java.io.IOException - if a I/O error occurs.public void stop()
public int getAvailable()
getAvailable in interface ej.rcommand.connectivity.ConnectivityManagerpublic java.lang.String getConnectionInfo()
getConnectionInfo in interface ej.rcommand.connectivity.ConnectivityManagerpublic void addConnectivityListener(ej.rcommand.connectivity.ConnectivityListener listener)
addConnectivityListener in interface ej.rcommand.connectivity.ConnectivityManagerpublic void removeConnectivityListener(ej.rcommand.connectivity.ConnectivityListener listener)
removeConnectivityListener in interface ej.rcommand.connectivity.ConnectivityManager