Back to FlowSsh Documentation



struct FlowSshC_ClientSessionChannel {};

FlowSshC_ClientSessionChannel* __cdecl FlowSshC_ClientSessionChannel_Create(FlowSshC_Client* client);


class ClientSessionChannel : public IRefCountable, public NoCopy
  ClientSessionChannel(RefPtrConst<Client> const& client);


public class ClientSessionChannel : IDisposable
  public ClientSessionChannel(Client client);


Creation, Destruction

  • Create - Create a new session-channel for the client.
  • [C/Cpp] AddRef - Increment reference count.
  • [C/Cpp] Release - Decrement reference count.


[C] Handler Registration

[Cpp/Net] Overrides and Events

[Net] Disposing

  • IsDisposed - Is the object disposed?
  • Dispose - Release all resources used by the object. Also initiates a close request.


Whenever you execute an application remotely or start an interactive shell, you will do so by using a session-channel. In FlowSshC, session-channels are represented by an opaque FlowSshC_ClientSessionChannel structure. In FlowSshCpp/Net they are managed by the ClientSessionChannel class. Handlers are called only for active channels. A channel is said to be active if it is either open or opening.

A channel can be created even if the associated client is not yet connected. Before an open request is send, the client must be connected though.