Discuss this help topic in SecureBlackbox Forum

TElSSHTunnelConnection.OnExtendedData

TElSSHTunnelConnection     See also     


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


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

Declaration

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

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

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

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

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

[Java]
    TSSHDataEvent getOnExtendedData();
    void setOnExtendedData(TSSHDataEvent Value);
    TSSHDataEvent.Callback OnExtendedData = new TSSHDataEvent.Callback() {
        public void TSSHDataEventCallback(TObject arg0, byte[] arg1) {
            //...
        }
    }

Parameters

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

Description

    This event is fired when the new block of decrypted extended data is available. For command and shell tunnels extended data come the standard error (stderr).
    To get the type of extended data, check ExtendedDataType property.

See also:     OnClose     OnData     OnError     ExtendedDataType    

Discuss this help topic in SecureBlackbox Forum