ClientSessionChannel - SetExitHandler, OnExitSignal, OnExitStatus
[C]
__cdecl FlowSshC_ClientSessionChannel_SetExitHandler(
FlowSshC_ClientSessionChannel* channel,
FlowSshC_ExitHandler handler,
void* handlerData);
[C++]
[ClientSessionChannel] virtual void OnExitSignal(ExitSignal const& signal);
[ClientSessionChannel] virtual void OnExitStatus(FlowSshC_ExitStatus const& status);
[C#]
[ClientSessionChannel] public event ExitSignalEventHandler OnExitSignal;
[ClientSessionChannel] public event ExitStatusEventHandler OnExitStatus;
[C] Parameters
- channel: FlowSshC_ClientSessionChannel pointer.
- handler: An ExitHandler function.
- handlerData: An application-defined value to be passed to the handler. Optional.
[C++/.NET] Overrides and Events
- OnExitSignal: Invoked when the remote application terminates because of a signal.
Parameters:- signal: An ExitSignal structure/class.
- OnExitStatus: Invoked when the remote application terminates.
Parameters:- status: An ExitStatus structure/class.
Remarks
Mostly, OnExitSignal and OnExitStatus are used in combination with the [ClientSessionChannel]ExecRequest method.