Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnDebugData

TElSSHCustomForwarding     


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


This event is fired when debug data from server is received

Declaration

[C#]
    event TSSHDataEvent OnDebugData;
    delegate void TSSHDataEvent(Object Sender, byte[] Buffer);

[VB.NET]
    Event OnDebugData As TSSHDataEvent
    Delegate Sub TSSHDataEvent(ByVal Sender As Object, ByVal Buffer As Byte())

[Pascal]
    property OnDataDebug : TSSHDataEvent;
    TSSHDataEvent = procedure (Sender: TObject; Buffer : pointer; Size : longint) of object;

[C++]
    void get_OnDebugData(TSSHDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDebugData(TSSHDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHDataEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

[PHP]
    TSSHDataEvent|callable|NULL get_OnDebugData()
    void set_OnDebugData(TSSHDataEvent|callable|NULL $Value)
    callable TSSHDataEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

[Java]
    TSSHDataEvent getOnDebugData();
    void setOnDebugData(TSSHDataEvent Value);
    TSSHDataEvent.Callback OnDebugData = new TSSHDataEvent.Callback() {
        public void TSSHDataEventCallback(TObject arg0, byte[] arg1) {
            //...
        }
    }

Parameters

  • Buffer - Buffer with debug data
  • Size - Debug data size

Description

    TElSSHCustomForwarding fires this event when it receives debug information from the server. Debug information is used to inform other side about internal protocol details during session.

Although the protocol specification doesn't specify the format of debug data, it is in common alphanumeric.

Discuss this help topic in SecureBlackbox Forum