Class BootstrapSocketConnector

java.lang.Object
io.jmix.reports.yarg.formatters.impl.doc.connector.BootstrapConnector
io.jmix.reports.yarg.formatters.impl.doc.connector.BootstrapSocketConnector

public class BootstrapSocketConnector extends BootstrapConnector
A Bootstrap Connector which uses a socket to connect to an OOo server.
  • Constructor Details

    • BootstrapSocketConnector

      public BootstrapSocketConnector(OOServer oooServer, Supplier<Integer> connectionTimeoutSupplier)
      Constructs a bootstrap socket connector which connects to the specified OOo server.
      Parameters:
      oooServer - The OOo server
  • Method Details

    • connect

      public com.sun.star.uno.XComponentContext connect(String host, int port) throws BootstrapException
      Connects to an OOo server using the specified host and port for the socket and returns a component context for using the connection to the OOo server.
      Parameters:
      host - The host
      port - The port
      Returns:
      The component context
      Throws:
      BootstrapException