public class ConnectRetryable
extends java.lang.Object
构造器和说明 |
---|
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.
|
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