javax.microedition.sensor
Class NXTChannel
java.lang.Object
javax.microedition.sensor.NXTChannel
- All Implemented Interfaces:
- Channel
public class NXTChannel
- extends Object
- implements Channel
Implementation of the channel interface for NXT sensor channels
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NXTChannel
public NXTChannel(NXTSensorConnection sensor,
NXTChannelInfo channelInfo)
addCondition
public void addCondition(ConditionListener listener,
Condition condition)
- Specified by:
addCondition
in interface Channel
getChannelInfo
public NXTChannelInfo getChannelInfo()
- Specified by:
getChannelInfo
in interface Channel
getChannelUrl
public String getChannelUrl()
- Specified by:
getChannelUrl
in interface Channel
getConditions
public Condition[] getConditions(ConditionListener listener)
- Specified by:
getConditions
in interface Channel
removeAllConditions
public void removeAllConditions()
- Specified by:
removeAllConditions
in interface Channel
removeCondition
public void removeCondition(ConditionListener listener,
Condition condition)
- Specified by:
removeCondition
in interface Channel
removeConditionListener
public void removeConditionListener(ConditionListener listener)
- Specified by:
removeConditionListener
in interface Channel
getSensor
public NXTSensorConnection getSensor()