Discuss this help topic in SecureBlackbox Forum

TElCustomSSHTunnel.OnError

TElCustomSSHTunnel     See also     


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


This event if fired when tunnel error occurs

Declaration

[C#]
    event TTunnelErrorEvent OnError;
    delegate void TTunnelErrorEvent(Object Sender, int Error, Object Data);

[VB.NET]
    Event OnError As TTunnelErrorEvent
    Delegate Sub TTunnelErrorEvent(ByVal Sender As Object, ByVal Error As Integer, ByVal Data As Object)

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

[C++]
    void get_OnError(TTunnelErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnError(TTunnelErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TTunnelErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t Error, void * Data);

[PHP]
    TTunnelErrorEvent|callable|NULL get_OnError()
    void set_OnError(TTunnelErrorEvent|callable|NULL $Value)
    callable TTunnelErrorEvent(TObject $Sender, integer $Error, TSBPointer|NULL $Data)

[Java]
    TTunnelErrorEvent getOnError();
    void setOnError(TTunnelErrorEvent Value);
    TTunnelErrorEvent.Callback OnError = new TTunnelErrorEvent.Callback() {
        public void TTunnelErrorEventCallback(TObject Sender, int Error, TObject Data) {
            //...
        }
    }

Parameters

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

Values:

Description

    This event is fired when tunnel error occurs.

See also:     OnClose     OnOpen    

Discuss this help topic in SecureBlackbox Forum