Back to FlowSsh Documentation

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

[Cpp/Net] Overrides and Events

  • OnExitSignal: Invoked when the remote application terminates because of a signal.
    Parameters:
  • OnExitStatus: Invoked when the remote application terminates.
    Parameters:

Remarks

Mostly, OnExitSignal and OnExitStatus are used in combination with the [ClientSessionChannel]ExecRequest method.