Discuss this help topic in SecureBlackbox Forum


TElCustomSSHTunnel     See also     

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

This event if fired when tunnel error occurs


    event TTunnelErrorEvent OnError;
    delegate void TTunnelErrorEvent(Object Sender, int Error, Object Data);

    Event OnError As TTunnelErrorEvent
    Delegate Sub TTunnelErrorEvent(ByVal Sender As Object, ByVal Error As Integer, ByVal Data As Object)

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

    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);

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

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


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



    This event is fired when tunnel error occurs.

See also:     OnClose     OnOpen    

Discuss this help topic in SecureBlackbox Forum