public interface AdapterController
| Modifier and Type | Interface and Description |
|---|---|
static class |
AdapterController.State |
| Modifier and Type | Method and Description |
|---|---|
void |
getAdapterNames(java.lang.String streamName,
java.util.List<java.lang.String> adapterNames)
Puts the names of the adapters that are using the specified stream in the adapterNames list
|
java.util.HashMap |
getAdapterProps(java.lang.String name)
Returns the properties of a specified adapter in key-value pair
|
AdapterController.State |
getAdapterState(java.lang.String name)
Returns the state of a specified adapter
|
Project |
getProject() |
void |
startAdapter(java.lang.String name)
Starts a specified adapter
|
void |
stopAdapter(java.lang.String name)
Stops a specified adapter
|
Project getProject()
void startAdapter(java.lang.String name)
throws java.io.IOException
name - Name of adapter to startjava.io.IOExceptionvoid stopAdapter(java.lang.String name)
throws java.io.IOException
name - Name of the adapter to stopjava.io.IOExceptionAdapterController.State getAdapterState(java.lang.String name) throws java.io.IOException
name - Name of the adapter which the state will be retrieved forjava.io.IOExceptionjava.util.HashMap getAdapterProps(java.lang.String name)
throws java.io.IOException
name - Name of the adapter to get the properties forjava.io.IOExceptionvoid getAdapterNames(java.lang.String streamName,
java.util.List<java.lang.String> adapterNames)
throws java.io.IOException
streamName - The name of the stream to checkadapterNames - A list which is populated with the names of adapters using the specified streamjava.io.IOException