Discuss this help topic in SecureBlackbox Forum

TElCustomSSHTunnel.OnError

TElCustomSSHTunnel     See also     


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


This event if fired when tunnel error occurs

Declaration

[C#/Java]
    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)

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