Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OnSecondaryChannelOpen

TElSimpleSFTPClient     See also     


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


This event is fired when TElSimpleSFTPClient needs to open a secondary SSH channel.

Declaration

[C#]
    event TSBSftpSecondaryChannelEvent OnSecondaryChannelOpen;
    delegate void TSBSftpSecondaryChannelEvent(Object Sender, TElCustomSSHTunnel Tunnel);

[VB.NET]
    Event OnSecondaryChannelOpen As TSBSftpSecondaryChannelEvent
    Delegate Sub TSBSftpSecondaryChannelEvent(ByVal Sender As Object, ByVal Tunnel As TElCustomSSHTunnel)

[Pascal]
    property OnSecondaryChannelOpen : TSBSftpSecondaryChannelEvent;
    TSBSftpSecondaryChannelEvent = procedure(Sender : TObject; Tunnel : TElCustomSSHTunnel) of object;

[C++]
    void get_OnSecondaryChannelOpen(TSBSftpSecondaryChannelEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSecondaryChannelOpen(TSBSftpSecondaryChannelEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpSecondaryChannelEvent)(void * _ObjectData, TObjectHandle Sender, TElCustomSSHTunnelHandle Tunnel);

[PHP]
    TSBSftpSecondaryChannelEvent|callable|NULL get_OnSecondaryChannelOpen()
    void set_OnSecondaryChannelOpen(TSBSftpSecondaryChannelEvent|callable|NULL $Value)
    callable TSBSftpSecondaryChannelEvent(TObject $Sender, TElCustomSSHTunnel $Tunnel)

[Java]
    TSBSftpSecondaryChannelEvent getOnSecondaryChannelOpen();
    void setOnSecondaryChannelOpen(TSBSftpSecondaryChannelEvent Value);
    TSBSftpSecondaryChannelEvent.Callback OnSecondaryChannelOpen = new TSBSftpSecondaryChannelEvent.Callback() {
        public void TSBSftpSecondaryChannelEventCallback(TObject Sender, TElCustomSSHTunnel Tunnel) {
            //...
        }
    }

Parameters

  • Tunnel - The secondary tunnel that has been opened.

Description

    This event is fired when TElSimpleSFTPClient needs to open a secondary SSH tunnel to the server, for example, to execute an SSH command.

Discuss this help topic in SecureBlackbox Forum