Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnConnectionWork

TElSSHCustomForwarding     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event allows to control the activity of the connection thread.

Declaration

[C#/Java]
    event TSBSSHConnectionEvent OnConnectionWork;
    delegate void TSBSSHConnectionEvent(Object Sender, TElSSHForwardedConnection Conn);

[VB.NET]
    Event OnConnectionWork As TSBSSHConnectionEvent
    Delegate Sub TSBSSHConnectionEvent(ByVal Sender As Object, ByVal Conn As TElSSHForwardedConnection)

[Pascal]
    property OnConnectionWork : TSBSSHConnectionEvent;
    TSBSSHConnectionEvent = procedure(Sender: TObject; Conn : TElSSHForwardedConnection) of object;

[C++]
    void get_OnConnectionWork(TSBSSHConnectionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnConnectionWork(TSBSSHConnectionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHConnectionEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHForwardedConnectionHandle Conn);

[PHP]
    TSBSSHConnectionEvent|callable|NULL get_OnConnectionWork()
    void set_OnConnectionWork(TSBSSHConnectionEvent|callable|NULL $Value)
    callable TSBSSHConnectionEvent(TObject $Sender, TElSSHForwardedConnection $Conn)

Parameters

  • Conn - The connection object which "contains" the SSH connection

Description

    This event is fired by TElSSHCustomForwarding consequently from a single forwarded connection loop. It allows user to put a call to the Sleep function (VCL)/Thread.Sleep (.NET) to control the activity of the connection thread.

See also:     OnConnectionOpen     OnConnectionError     OnConnectionClose    

Discuss this help topic in SecureBlackbox Forum