AbortReq

This method activates the Abort service. A client can use this service to disconnect from the server in a controlled manner.
METHOD AbortReq : BOOL
VAR_INPUT
ipReason : I_ServiceErrorClass;
ipSink : I_ScsmAbortIndEventSink;
END_VAR
VAR_OUTPUT
ipResult : I_AsyncServiceResultClass;
END_VAR
ipReason: Interface pointer of type I_ServiceErrorClass. This pointer can be used to pass an object with a user-defined cause for the disconnection.
ipSink: Interface pointer of type I_ScsmAbortIndEventSink of an object with a user-defined implementation of the event handling routine: OnAbortInd (service feedback). This parameter is optional and reserved for future use. The pointer value 0 defines the parameter as optional.
ipResult: Interface pointer of type: I_AsyncServiceResultClass This pointer can be used to query and monitor the status/progress and the result of the service execution.
Return parameter: Positive feedback (TRUE) if the service primitive was sent/started successfully, negative feedback (FALSE) on error.