Class BootstrapSocketConnector
java.lang.Object
io.jmix.reports.yarg.formatters.impl.doc.connector.BootstrapConnector
io.jmix.reports.yarg.formatters.impl.doc.connector.BootstrapSocketConnector
A Bootstrap Connector which uses a socket to connect to an OOo server.
-
Field Summary
Fields inherited from class io.jmix.reports.yarg.formatters.impl.doc.connector.BootstrapConnector
CONNECTION_RETRY_INTERVAL, connectionTimeoutSupplier
-
Constructor Summary
ConstructorDescriptionBootstrapSocketConnector
(OOServer oooServer, Supplier<Integer> connectionTimeoutSupplier) Constructs a bootstrap socket connector which connects to the specified OOo server. -
Method Summary
Methods inherited from class io.jmix.reports.yarg.formatters.impl.doc.connector.BootstrapConnector
connect, disconnect, getLocalContext, getRemoteContext
-
Constructor Details
-
BootstrapSocketConnector
Constructs a bootstrap socket connector which connects to the specified OOo server.- Parameters:
oooServer
- The OOo server
-
-
Method Details
-
connect
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 hostport
- The port- Returns:
- The component context
- Throws:
BootstrapException
-