Class XBeeLight

    • Constructor Detail

      • XBeeLight

        public XBeeLight​(java.lang.String systemName,
                         java.lang.String userName,
                         XBeeTrafficController controller)
        Create a Light object, with system and user names and a reference to the traffic controller.
        Parameters:
        systemName - Xbee system id : pin id
        userName - User friendly name
        controller - tc for connection for this node
    • Method Detail

      • doNewState

        protected void doNewState​(int oldState,
                                  int newState)
        Description copied from class: AbstractLight
        Implement the specific change of state needed by hardware.
        Overrides:
        doNewState in class AbstractLight
        Parameters:
        oldState - old state
        newState - new state