de.jaetzold.art
Class ConstantSensorPort

java.lang.Object
  |
  +--de.jaetzold.art.platform.BaseSensorPort
        |
        +--de.jaetzold.art.ConstantSensorPort
All Implemented Interfaces:
Port, SensorPort

public class ConstantSensorPort
extends BaseSensorPort


Field Summary
protected  SensorPeer peer
           
 
Fields inherited from class de.jaetzold.art.platform.BaseSensorPort
excludedPorts, granularity, identifier, iface, maximumValue, minimumValue, portNumber
 
Constructor Summary
ConstantSensorPort(double value)
           
 
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
 

Field Detail

peer

protected SensorPeer peer
Constructor Detail

ConstantSensorPort

public ConstantSensorPort(double value)
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)