Interface Port

  • All Known Implementing Classes:
    RemoteNXTPort, RemotePort, RemoteRequestPort

    public interface Port
    Interface that provides a binding between a physical port and the different types of sensor interfaces that can be used with it
    Author:
    andy
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      return the string name used to reference this physical port
      <T extends IOPort>
      T
      open​(java.lang.Class<T> portclass)
      Obtain access to a class that can be used to talk to the port hardware
    • Method Detail

      • getName

        java.lang.String getName()
        return the string name used to reference this physical port
        Returns:
        a string representation of the port
      • open

        <T extends IOPort> T open​(java.lang.Class<T> portclass)
        Obtain access to a class that can be used to talk to the port hardware
        Parameters:
        portclass - the required port interface
        Returns:
        a class that implements the requested interface