public class ControllerProxy extends DeviceProxy<Controller> implements Controller
Constructor and Description |
---|
ControllerProxy() |
Modifier and Type | Method and Description |
---|---|
void |
exclusionStart()
Starts the exclusion mode.
|
void |
exclusionStop()
Stops the exclusion mode.
|
int |
getExclusionMode()
Return The supported exclusion mode.
|
ControllerListener |
getListener()
Get the
ControllerListener attached to this controller. |
int |
getState()
Returns the actual state on the controller.
|
void |
inclusionStart()
Start the inclusion mode.
|
void |
inclusionStop()
Stop the inclusion mode.
|
boolean |
isStarted()
Returns true if the controller is started, false otherwise.
|
boolean |
start(ControllerListener listener)
Start this controller.
|
void |
stop()
Stop this controller.
|
getChildren, getDescriptor, getName, getParent
public void inclusionStart()
Controller
inclusionStart
in interface Controller
public void inclusionStop()
Controller
inclusionStop
in interface Controller
public int getExclusionMode()
Controller
getExclusionMode
in interface Controller
public void exclusionStart()
Controller
exclusionStart
in interface Controller
public void exclusionStop()
Controller
exclusionStop
in interface Controller
public boolean start(ControllerListener listener)
Controller
start
in interface Controller
listener
- the listener which receive all events.public boolean isStarted()
Controller
isStarted
in interface Controller
public void stop()
Controller
stop
in interface Controller
public ControllerListener getListener()
Controller
ControllerListener
attached to this controller.getListener
in interface Controller
public int getState()
Controller
getState
in interface Controller
Controller.inclusionStart()
,
Controller.inclusionStop()
,
Controller.exclusionStart()
,
Controller.exclusionStop()