IDriverStateMachine.ResetAfterError (METH) ¶ METHOD ResetAfterError This method is called after a failed call to one of the other methods where IDriverStateMachine.ShutdownAfterError returns FALSE. Implementations can use this call to get into a state where it is possible to start a new connection after some delay.
IDriverStateMachine.SendRequest (METH) ¶ METHOD SendRequest : SysTypes.RTS_IEC_RESULT Using this method a request should be sent by the driver. InOut: Scope Name Type Comment Return SendRequest SysTypes.RTS_IEC_RESULT An error code representing the result of the polling operation. In case the operation is not yet finished, ERR_PENDING should be returned. This will then cause followup calls to IDriverStateMachine.PollRequestResult . In case the operation finished synchronously, ERR_OK should be returned. When sending a request failed, an error code should be returned and then the whole connection will be set up again. Input request IDriverRequest The request object representing the information that should be sent to the connected device.
ICustomRequest (ITF) ¶ INTERFACE ICustomRequest EXTENDS __SYSTEM.IQueryInterface
ICustomRequestCallback (ITF) ¶ INTERFACE ICustomRequestCallback EXTENDS __SYSTEM.IQueryInterface Methods: RequestFinished Structure: RequestFinished (Method)
ICustomRequestCallback.RequestFinished (METH) ¶ METHOD RequestFinished This method will be called when the execution of the given request is finished. Note The method will be called no matter whether the request was executed successfully or not. Callees can find out about this fact by evaluating the according result. InOut: Scope Name Type Comment Input request ICustomRequest The request that was finished response ICustomResponse The response to the request. Valid only in case the result is ERR_OK. Note Please remark that this object is no longer valid when this method returns. result SysTypes.RTS_IEC_RESULT The result of the execution as one of the runtime system error codes (see CmpErrors.library) or one of Errors . In case the service was sent successfully, ERR_OK will be set as the result
ICustomRequestHandling (ITF) ¶ INTERFACE ICustomRequestHandling EXTENDS __SYSTEM.IQueryInterface Methods: ReleaseRequest Structure: ReleaseRequest (Method)
ICustomRequestHandling.ReleaseRequest (METH) ¶ METHOD ReleaseRequest : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ReleaseRequest SysTypes.RTS_IEC_RESULT Input request ICustomRequest
IDriverSpecificData.Release (METH) ¶ METHOD Release This method will be called when the underlying object should be released. It’s the implementation’s responsibility to release memory correctly etc.
IDriverSpecifiedSettings (ITF) ¶ INTERFACE IDriverSpecifiedSettings This interface can optionally be implemented by IDriver too. Methods: ReconnectWaitTime TimeoutSyncShutdown Structure: ReconnectWaitTime (Method) TimeoutSyncShutdown (Method)
IDriverSpecifiedSettings.ReconnectWaitTime (METH) ¶ METHOD ReconnectWaitTime : TIME InOut: Scope Name Type Return ReconnectWaitTime TIME Output xUseDefault BOOL