Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OnSecondaryChannelError

TElSimpleSFTPClient     See also     


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


This event is fired when an error occurs in a secondary SSH channel.

Declaration

[C#]
    event TSBSftpSecondaryChannelErrorEvent OnSecondaryChannelError;
    delegate void TSBSftpSecondaryChannelErrorEvent(Object Sender, TElCustomSSHTunnel Tunnel, int ErrorCode);

[VB.NET]
    Event OnSecondaryChannelError As TSBSftpSecondaryChannelErrorEvent
    Delegate Sub TSBSftpSecondaryChannelErrorEvent(ByVal Sender As Object, ByVal Tunnel As TElCustomSSHTunnel, ByVal ErrorCode As Integer)

[Pascal]
    property OnSecondaryChannelError : TSBSftpSecondaryChannelErrorEvent;
    TSBSftpSecondaryChannelErrorEvent = procedure(Sender : TObject; Tunnel : TElCustomSSHTunnel; ErrorCode : integer) of object;

[C++]
    void get_OnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpSecondaryChannelErrorEvent)(void * _ObjectData, TObjectHandle Sender, TElCustomSSHTunnelHandle Tunnel, int32_t ErrorCode);

[PHP]
    TSBSftpSecondaryChannelErrorEvent|callable|NULL get_OnSecondaryChannelError()
    void set_OnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent|callable|NULL $Value)
    callable TSBSftpSecondaryChannelErrorEvent(TObject $Sender, TElCustomSSHTunnel $Tunnel, integer $ErrorCode)

[Java]
    TSBSftpSecondaryChannelErrorEvent getOnSecondaryChannelError();
    void setOnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent Value);
    TSBSftpSecondaryChannelErrorEvent.Callback OnSecondaryChannelError = new TSBSftpSecondaryChannelErrorEvent.Callback() {
        public void TSBSftpSecondaryChannelErrorEventCallback(TObject Sender, TElCustomSSHTunnel Tunnel, int ErrorCode) {
            //...
        }
    }

Parameters

  • Tunnel - The SSH tunnel where the error has occured.
  • ErrorCode - Specifies the error code.

Error codes:

Description

    This event is fired when an error occurs in a secondary SSH tunnel.

Discuss this help topic in SecureBlackbox Forum