fr.emn.reactiveinput
Class InPin

java.lang.Object
  extended byfr.emn.reactiveinput.Pin
      extended byfr.emn.reactiveinput.InPin
All Implemented Interfaces:
Device, MutableDevice

public class InPin
extends Pin


Field Summary
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Constructor Summary
InPin()
           
InPin(java.lang.String slotName)
           
 
Method Summary
 Device copy()
          Returns a new device with the same functionalities, or null if the device is not copiable (static device).
 In getExternalIn()
           
 java.lang.String getName()
          The short name of the device.
protected  Slot getSlot()
           
 
Methods inherited from class fr.emn.reactiveinput.Pin
close, getError, getInfo, getIns, getMutationTriggers, getOuts, getProperties, getSlotIndex, getSlotName, hasExternalInput, hasExternalOutput, isCopiable, isOpenable, mutate, open, setEnabled, setSlotIndex, setSlotName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InPin

public InPin()

InPin

public InPin(java.lang.String slotName)
Method Detail

getSlot

protected Slot getSlot()
Specified by:
getSlot in class Pin

getName

public java.lang.String getName()
Description copied from interface: Device
The short name of the device.


copy

public Device copy()
Description copied from interface: Device
Returns a new device with the same functionalities, or null if the device is not copiable (static device).

If your device has a no-arg contructor, use the default copy method provided in DeviceUtilities class.

Note: the copied device must return the same original prototype as the source device. See getPrototype() and setPrototype() methods in DeviceUtilities.


getExternalIn

public In getExternalIn()