Interface NetworkInterface.Builder

    • Method Detail

      • interfaceId

        NetworkInterface.Builder interfaceId​(String interfaceId)

        The ID of the network interface.

        Parameters:
        interfaceId - The ID of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        NetworkInterface.Builder type​(String type)

        The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.

        Parameters:
        type - The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NetworkInterfaceType, NetworkInterfaceType
      • type

        NetworkInterface.Builder type​(NetworkInterfaceType type)

        The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.

        Parameters:
        type - The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NetworkInterfaceType, NetworkInterfaceType
      • canInterface

        NetworkInterface.Builder canInterface​(CanInterface canInterface)

        Information about a network interface specified by the Controller Area Network (CAN) protocol.

        Parameters:
        canInterface - Information about a network interface specified by the Controller Area Network (CAN) protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • obdInterface

        NetworkInterface.Builder obdInterface​(ObdInterface obdInterface)

        Information about a network interface specified by the On-board diagnostic (OBD) II protocol.

        Parameters:
        obdInterface - Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vehicleMiddleware

        NetworkInterface.Builder vehicleMiddleware​(VehicleMiddleware vehicleMiddleware)

        The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include ROS2 and SOME/IP.

        Parameters:
        vehicleMiddleware - The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include ROS2 and SOME/IP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.