Interface ShipInterface

  • All Known Implementing Classes:
    Ship

    public interface ShipInterface
    • Method Detail

      • openConnection

        ShipConnectionInterface openConnection​(java.lang.String ipAddr)
        opens a connection to a device/server
        Parameters:
        ipAddr - the IP address of the device/server to connect to. Example: "127.0.0.1:4059"
        Returns:
        an object to represent this particular connection to another device/server
      • setConnHandler

        void setConnHandler​(ConnectionHandler connHandler)
        sets a connection handler