Discuss this help topic in SecureBlackbox Forum

TElSimpleSSHClient.OnSendCommandRequest

TElSimpleSSHClient     See also     


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


This event is fired by TElSimpleSSHClient before one of its commands is sent to the server.

Declaration

[C#]
    event TSSHCommandExecutionEvent OnSendCommandRequest;
    delegate void TSSHCommandExecutionEvent(Object Sender, string Command, int CommandIdx);

[VB.NET]
    Event OnSendCommandRequest As TSSHCommandExecutionEvent
    Delegate Sub TSSHCommandExecutionEvent(ByVal Sender As Object, ByVal Command As String, ByVal CommandIdx As Integer)

[Pascal]
    property OnSendCommandRequest : TSSHCommandExecutionEvent;
    TSSHCommandExecutionEvent = procedure(Sender: TObject; Command : string; CommandIdx : integer) of object;

[C++]
    void get_OnSendCommandRequest(TSSHCommandExecutionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSendCommandRequest(TSSHCommandExecutionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHCommandExecutionEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcCommand, int32_t szCommand, int32_t CommandIdx);

[PHP]
    TSSHCommandExecutionEvent|callable|NULL get_OnSendCommandRequest()
    void set_OnSendCommandRequest(TSSHCommandExecutionEvent|callable|NULL $Value)
    callable TSSHCommandExecutionEvent(TObject $Sender, string $Command, integer $CommandIdx)

[Java]
    TSSHCommandExecutionEvent getOnSendCommandRequest();
    void setOnSendCommandRequest(TSSHCommandExecutionEvent Value);
    TSSHCommandExecutionEvent.Callback OnSendCommandRequest = new TSSHCommandExecutionEvent.Callback() {
        public void TSSHCommandExecutionEventCallback(TObject Sender, String Command, int CommandIdx) {
            //...
        }
    }

Parameters

  • Command - the command which should be executed on the server
  • CommandIdx - index of the command which should be executed in the list
  • pcCommand - the command which should be executed on the server
  • szCommand - the length of pcCommand.

Description

    This event is fired by TElSimpleSSHClient before one of its commands is sent to the server. Use this event handler to track, which one of the Commands is being executed next.

See also:     Commands    

Discuss this help topic in SecureBlackbox Forum