Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OnSecondaryChannelPrepared

TElSimpleSFTPClient     See also     


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


This event is fired when TElSimpleSFTPClient has prepared a secondary SSH channel.

Declaration

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

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

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

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

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

[Java]
    TSBSftpSecondaryChannelEvent getOnSecondaryChannelPrepared();
    void setOnSecondaryChannelPrepared(TSBSftpSecondaryChannelEvent Value);
    TSBSftpSecondaryChannelEvent.Callback OnSecondaryChannelPrepared = new TSBSftpSecondaryChannelEvent.Callback() {
        public void TSBSftpSecondaryChannelEventCallback(TObject Sender, TElCustomSSHTunnel Tunnel) {
            //...
        }
    }

Parameters

  • Tunnel - The SSH tunnel that has been prepared.

Description

    This event is fired when TElSimpleSFTPClient has opened and prepared a secondary SSH tunnel to the server, for example, to execute an SSH command.

Discuss this help topic in SecureBlackbox Forum