Class ConnectionFactory

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConnectionFactory

        public ConnectionFactory()
        Constructs an empty ConnectionFactory. Needed by ObjectFactory, should only be used for internal purposes.
      • ConnectionFactory

        protected ConnectionFactory​(String host,
                                    int port)
        Constructs a ConnectionFactory dedicated to a given server.
        Parameters:
        host - Name or IP address of the server's host.
        port - Server's listening port.
      • ConnectionFactory

        protected ConnectionFactory​(String url)
        Constructs a ConnectionFactory dedicated to a given server.
        Parameters:
        url - joram url.
    • Method Detail

      • toString

        public String toString()
        Returns a string view of the connection factory.
        Overrides:
        toString in class Object