Class InputSocketImpl<T>

    • Method Detail

      • removeConnection

        public void removeConnection​(Connection connection)
        Reset the socket to its default value when it's no longer connected to anything. This prevents removed connections from continuing to have an effect on steps because they still hold references to the values they were connected to.
        Specified by:
        removeConnection in interface Socket<T>
        Overrides:
        removeConnection in class SocketImpl<T>
        Parameters:
        connection - The connection to remove from this socket.
      • dirtied

        public boolean dirtied()
        Description copied from interface: InputSocket
        Checks if the socket has been dirtied and rests it to false.
        Specified by:
        dirtied in interface InputSocket<T>
        Returns:
        True if the socket has been dirtied.