Class LoopClient

    • Constructor Detail

      • LoopClient

        public LoopClient()
    • Method Detail

      • close

        public void close()

        close

        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface Client<LineOrientedRequest,​LoopResponse>
        Specified by:
        close in interface java.io.Closeable
      • connect

        public void connect​(java.net.InetAddress address,
                            int port,
                            int timeout)
                     throws java.io.IOException,
                            java.lang.Exception

        connect

        Specified by:
        connect in interface Client<LineOrientedRequest,​LoopResponse>
        Parameters:
        address - a InetAddress object.
        port - a int.
        timeout - a int.
        Throws:
        java.io.IOException - if any.
        java.lang.Exception - if any.
      • setSupported

        public void setSupported​(boolean isSupported)

        setSupported

        Parameters:
        isSupported - a boolean.
      • isSupported

        public boolean isSupported()

        isSupported

        Returns:
        a boolean.