Klasse Port
java.lang.Object
de.labAlive.core.port.Port
Abstract class for a port. A port belongs to a sysrem and represents an input
or output. descendant class must implement step();
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidvoidconnectWire(WireImpl wire) Connects wire to this port.getOwner()intgetPort()getWire()booleanabstract void
-
Felddetails
-
wire
-
-
Konstruktordetails
-
Port
- Parameter:
owner- system to which this port belongs toname- name of the port
-
-
Methodendetails
-
connectWire
Connects wire to this port.- Parameter:
wire- wire connected to system output
-
step
-
getWire
-
getOwner
-
isConnected
public boolean isConnected() -
getPort
public int getPort() -
checkConnection
public void checkConnection()
-