Discuss this help topic in SecureBlackbox Forum


TElSSHCustomForwarding     See also     

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

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


    event TSBSSHConnectionEvent OnConnectionWork;
    delegate void TSBSSHConnectionEvent(Object Sender, TElSSHForwardedConnection Conn);

    Event OnConnectionWork As TSBSSHConnectionEvent
    Delegate Sub TSBSSHConnectionEvent(ByVal Sender As Object, ByVal Conn As TElSSHForwardedConnection)

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

    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);

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

    TSBSSHConnectionEvent getOnConnectionWork();
    void setOnConnectionWork(TSBSSHConnectionEvent Value);
    TSBSSHConnectionEvent.Callback OnConnectionWork = new TSBSSHConnectionEvent.Callback() {
        public void TSBSSHConnectionEventCallback(TObject Sender, TElSSHForwardedConnection Conn) {


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


    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