Interface ConnectorInstance


  • public interface ConnectorInstance
    Information about a connector instance that is connected to this router.

    Note that one instance may have multiple connections.

    Access by iterating the services returned by CrankerRouter.collectInfo()

    • Method Detail

      • ip

        String ip()
        Returns:
        The IP address of the instance.
      • connectorInstanceID

        String connectorInstanceID()
        Returns:
        The unique ID of the connector.
      • connections

        List<ConnectorConnection> connections()
        Returns:
        The current idle connections that this connector has registered to the router.
      • darkMode

        boolean darkMode()
        Returns:
        Returns true if this connector is on a dark mode host; otherwise false.
      • toMap

        Map<String,​Object> toMap()
        Returns:
        Returns the state of this object as a map of key-value pairs.