EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElCustomSSHTunnel.OnError

TElCustomSSHTunnel     See also    


 

This event if fired when tunnel error occurs

 
 

Declaration

[C#]
    event TSSHErrorEvent OnError;
    delegate void TSSHErrorEvent(object Sender, int ErrorCode, object Data) ;

[VB.NET]
    Event OnError As TSSHErrorEvent
    Delegate Sub TSSHErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer, ByVal Data as Object)

[Pascal]
    property OnError : TTunnelErrorEvent;
    TTunnelErrorEvent = procedure(Sender : TObject; Error : integer; Data : pointer) of object;

[VB6]
    

[ActiveX]
    void _stdcall OnError([in] long ErrorCode );

[DLL]
    not implemented;
 
 

Parameters

  • ErrorCode - The code of occurred error
  • Data - user data
 
 

Values:

Definition Value Description
SSH_TUNNEL_ERROR_FORWARD_DISALLOWED 1 (0x0001) Forwarding is unallowable.
SSH_TUNNEL_ERROR_SERVER_ERROR 2 (0x0002) Tunnel opening is rejected.
SSH_TUNNEL_ERROR_ADMINISTRATIVELY_PROHIBITED 1 (0x0001) Forwarding is unallowable.
SSH_TUNNEL_ERROR_CONNECT_FAILED 2 (0x0002) Tunnel opening is rejected.
SSH_TUNNEL_ERROR_UNKNOWN_CHANNEL_TYPE 3 (0x0003) Type of requested tunnel is unknown.
SSH_TUNNEL_ERROR_RESOURCE_SHORTAGE 4 (0x0004) Resource became unavailable while trying to connect.
SSH_TUNNEL_ERROR_ALREADY_CONNECTED 700 (0x02BC) Tunnel is already opened.
SSH_TUNNEL_ERROR_NOT_BOUND_TO_SSH_CLASS 701 (0x02BD) Tunnel is not bound to SSH-class (via TElSSHTunnelList object).
SSH_TUNNEL_ERROR_SSH_NOT_CONNECTED 702 (0x02BE) Attempt to open tunnel while SSH-connection is not established.
SSH_TUNNEL_ERROR_UNSUPPORTED_BY_SSH_VERSION 703 (0x02BF) Tunnel is not supported by SSH-version (for example SFTPv1).
SSH_TUNNEL_ERROR_UNSUPPORTED_ACTION 704 (0x02C0) Attempt to perform unsupported action.
SSH_TUNNEL_ERROR_OPEN_FAILED 705 (0x02C1) Tunnel opening failed.
Declared in
[.NET] [Pascal]
Namespace: SBSSHConstants
Assembly: SecureBlackbox.SSHCommon
Unit: SBSSHConstants

 
 

Description

    This event is fired when tunnel error occurs.

 
 

See also:     OnClose     OnOpen    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation