Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnConnectionError

TElSSHCustomForwarding     See also     


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


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

Declaration

[C#]
    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, ByVal 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)

[Java]
    TSBSSHConnectionErrorEvent getOnConnectionError();
    void setOnConnectionError(TSBSSHConnectionErrorEvent Value);
    TSBSSHConnectionErrorEvent.Callback OnConnectionError = new TSBSSHConnectionErrorEvent.Callback() {
        public void TSBSSHConnectionErrorEventCallback(TObject Sender, TElSSHForwardedConnection Conn, int 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