Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnConnectionError

TElSSHCustomForwarding     See also     


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


This event is fired after the state of the forwarded connection is changed

Declaration

[C#/Java]
    event TSBSSHConnectionErrorEvent OnConnectionError;
    delegate void TSBSSHConnectionErrorEvent(object Sender, TElSSHForwardedConnection Conn, int ErrorCode)

[VB.NET]
    Event OnConnectionError As TSBSSHConnectionErrorEvent
    Delegate Sub TSBSSHConnectionErrorEvent(ByVal Sender As Object, ByVal Conn As TElSSHForwardedConnection, ErrorCode As Integer)

[Pascal]
    property OnConnectionError : TSBSSHConnectionErrorEvent;
    TSBSSHConnectionErrorEvent = procedure(Sender: TObject; Conn : TElSSHForwardedConnection; ErrorCode : integer) of object;

[C++]
    void get_OnConnectionError(TSBSSHConnectionErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnConnectionError(TSBSSHConnectionErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHConnectionErrorEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHForwardedConnectionHandle Conn, int32_t ErrorCode);

[PHP]
    TSBSSHConnectionErrorEvent|callable|NULL get_OnConnectionError()
    void set_OnConnectionError(TSBSSHConnectionErrorEvent|callable|NULL $Value)
    callable TSBSSHConnectionErrorEvent(TObject $Sender, TElSSHForwardedConnection $Conn, integer $ErrorCode)

Parameters

  • Conn - The connection object which "contains" the connection
  • ErrorCode - The error code

Values:


Description

    TElSSHCustomForwarding fires this event when the error happens during data forwarding.

See also:     OnConnectionOpen     OnConnectionWork     OnConnectionClose    

Discuss this help topic in SecureBlackbox Forum