Restart a server, waiting up to timeout for the server to be restarted.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFOperationStart beginRestart( int timeout, DOFServerStartOperationListener operationListener )
Parameters
- timeout
- Type: SystemInt32
Maximum time to wait, in milliseconds, for the server to be restarted. Note, however, that the server may still start if the underlying transport cannot cancel the request. Must be >= 0. Zero is allowed, in which case the operationListener is immediately called indicating the current state. - operationListener
- Type: org.opendof.core.oalDOFServerStartOperationListener
An associated completion operationListener. This may be null.
Return Value
Type: DOFOperationStartThe new operation, or null if there is a related server that won't restart.
Remarks
See Also