code/modules/wiremod/port.dm

/datum/port | A base type port used by a component |
---|---|
/datum/port/output | An output port that many input ports can connect to |
/datum/port/input | An input port that can only be connected to 1 output port |