Discuss this help topic in SecureBlackbox Forum

TElSSHPublicKeyClient.OnStatus

TElSSHPublicKeyClient     See also     


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


This event is fired just after command execution is finished

Declaration

[C#]
    event TSBSSHPublicKeyStatusEvent OnStatus;
    delegate void TSBSSHPublicKeyStatusEvent(Object Sender, int Status, string Descr, string Tag);

[VB.NET]
    Event OnStatus As TSBSSHPublicKeyStatusEvent
    Delegate Sub TSBSSHPublicKeyStatusEvent(ByVal Sender As Object, ByVal Status As Integer, ByVal Descr As String, ByVal Tag As String)

[Pascal]
    property OnStatus: TSBSSHPublicKeyStatusEvent;
    TSBSSHPublicKeyStatusEvent = procedure(Sender: TObject; Status: integer; const Descr, Tag: string) of object;

[C++]
    void get_OnStatus(TSBSSHPublicKeyStatusEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnStatus(TSBSSHPublicKeyStatusEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeyStatusEvent)(void * _ObjectData, TObjectHandle Sender, int32_t Status, const char * pcDescr, int32_t szDescr, const char * pcTag, int32_t szTag);

[PHP]
    TSBSSHPublicKeyStatusEvent|callable|NULL get_OnStatus()
    void set_OnStatus(TSBSSHPublicKeyStatusEvent|callable|NULL $Value)
    callable TSBSSHPublicKeyStatusEvent(TObject $Sender, integer $Status, string $Descr, string $Tag)

[Java]
    TSBSSHPublicKeyStatusEvent getOnStatus();
    void setOnStatus(TSBSSHPublicKeyStatusEvent Value);
    TSBSSHPublicKeyStatusEvent.Callback OnStatus = new TSBSSHPublicKeyStatusEvent.Callback() {
        public void TSBSSHPublicKeyStatusEventCallback(TObject Sender, int Status, String Descr, String Tag) {
            //...
        }
    }

Parameters

  • Status - integer code of the request result
  • Descr - text description of the result code. Depends on server.
  • Tag - mark of the description language
  • pcDescr - text description of the result code. Depends on server.
  • szDescr - the length of pcDescr.
  • pcTag - mark of the description language
  • szTag - the length of pcTag.

Status values

Description

    TElSSHPublicKeyClient fires this event after each Add, Remove, List or ListAttributes command execution. Returns request result as code and comment.

See also:     OnAttribute     OnCloseConnection     OnError     OnOpenConnection     OnPublicKey    

Discuss this help topic in SecureBlackbox Forum