Class SpecificLight

    • Constructor Detail

      • SpecificLight

        public SpecificLight​(java.lang.String systemName,
                             SerialTrafficController tc)
        Create a Light object, with only system name.

        'systemName' was previously validated in SerialLightManager

        Parameters:
        systemName - systemName for light
        tc - tc for connection
      • SpecificLight

        public SpecificLight​(java.lang.String systemName,
                             SerialTrafficController tc,
                             java.lang.String userName)
        Create a Light object, with both system and user names.

        'systemName' was previously validated in SerialLightManager

        Parameters:
        systemName - systemName for light
        tc - tc for connection
        userName - userName for light