public class ConnectRetryable
extends java.lang.Object
Constructor and Description |
---|
ConnectRetryable(org.jodconverter.office.OfficeConnection connection)
Creates a new instance of the class for the specified connection.
|
ConnectRetryable(org.jodconverter.office.OfficeProcess process,
org.jodconverter.office.OfficeConnection connection)
Creates a new instance of the class for the specified process and connection.
|
Modifier and Type | Method and Description |
---|---|
protected void |
attempt() |
void |
execute(long arg0,
long arg1) |
public ConnectRetryable(org.jodconverter.office.OfficeConnection connection)
connection
- The office connection to connect.public ConnectRetryable(org.jodconverter.office.OfficeProcess process, org.jodconverter.office.OfficeConnection connection)
process
- The office process whose exit code is to be retrieved.connection
- The office connection to connect.protected void attempt() throws org.jodconverter.office.TemporaryException, org.jodconverter.office.OfficeException
org.jodconverter.office.TemporaryException
org.jodconverter.office.OfficeException
public void execute(long arg0, long arg1) throws java.lang.Exception
java.lang.Exception