de.jaetzold.art
Class RawSensor.ValueSensorPort

java.lang.Object
  |
  +--de.jaetzold.art.platform.BaseSensorPort
        |
        +--de.jaetzold.art.RawSensor.ValueSensorPort
All Implemented Interfaces:
Port, SensorPort
Enclosing class:
RawSensor

public class RawSensor.ValueSensorPort
extends BaseSensorPort

A SensorPort for the value of this Sensor. An instance of this class can be retrieved by calling getSensorPort() but apart from using something not every Sensor has there should be no problem by using this class directly.

See Also:
RawSensor.getSensorPort()

Fields inherited from class de.jaetzold.art.platform.BaseSensorPort
excludedPorts, granularity, identifier, iface, maximumValue, minimumValue, portNumber
 
Constructor Summary
RawSensor.ValueSensorPort()
           
 
Method Summary
 SensorPeer getPeerFor(Sensor sensor)
          This is the Factory-method for creating peers.
 
Methods inherited from class de.jaetzold.art.platform.BaseSensorPort
conformsTo, connectWith, disconnect, equals, getExcludedPorts, getGranularity, getMaximumValue, getMinimumValue, getPortID, getPortNumber, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RawSensor.ValueSensorPort

public RawSensor.ValueSensorPort()
Method Detail

getPeerFor

public SensorPeer getPeerFor(Sensor sensor)
Description copied from class: BaseSensorPort
This is the Factory-method for creating peers. It must be implemented by non-abstract subclasses.
Overrides:
getPeerFor in class BaseSensorPort
Following copied from interface: de.jaetzold.art.SensorPort
See Also:
SensorPort.connectWith(Sensor), RawSensor.connectWith(SensorPort)