ReleaseReq

ReleaseReq 1:

This method activates the Release service. With this service, a server can terminate the server connection (session) to the client in a controlled manner.

METHOD FINAL ReleaseReq : BOOL
VAR_INPUT
    ipSink   : I_ScsmReleaseCnfEventSink;
END_VAR
VAR_OUTPUT
    ipResult : I_AsyncServiceResultClass;
END_VAR

ipSink: Interface pointer of type I_ScsmReleaseCnfEventSink of an object with a user-defined implementation of the event handling routine OnReleaseCnf (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.