DOFServerrestart Method OpenDOF Object Access Library
Restarts the server synchronously, but only waiting for the specified timeout.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public void restart(
	int timeout
)

Parameters

timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, for the server to restart. Must be >= 0.
Exceptions

ExceptionCondition
DOFExceptionIf the server cannot be started.
DOFException
Remarks

Restarts the server synchronously, but only waiting for the specified timeout.

Will also restart any related server.

See Also

Reference