Discuss this help topic in SecureBlackbox Forum


TElSSHTunnelConnection     See also     

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

This event is fired when new portion of data is received via logical connection


    event TSSHDataEvent OnData;
    delegate void TSSHDataEvent(Object Sender, byte[] Buffer);

    Event OnData As TSSHDataEvent
    Delegate Sub TSSHDataEvent(ByVal Sender As Object, ByVal Buffer As Byte())

    property OnData : TDataEvent;
    TDataEvent = procedure (Sender: TObject; Buffer : pointer; Size : longint) of object;

    void get_OnData(TSSHDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnData(TSSHDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHDataEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSSHDataEvent|callable|NULL get_OnData()
    void set_OnData(TSSHDataEvent|callable|NULL $Value)
    callable TSSHDataEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)


  • Buffer - buffer with decrypted data
  • Size - size of the buffer with decrypted data


    Handle this event to read the actual data sent by the server to this logical connection. In case of command or shell tunnel, the data passed in this event is the standard output (stdout).
    Note, that there is no other way to receive decrypted logical connection data from server.

See also:     OnClose     OnError     OnExtendedData    

Discuss this help topic in SecureBlackbox Forum