Discuss this help topic in SecureBlackbox Forum

TElSSHPublicKeyServer.OnStatus

TElSSHPublicKeyServer     See also     


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


This event is fired when the corresponding protocol packet was received from the client.

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

    This event is fired when the corresponding protocol packet was received from the client. This event can be fired on any stage of the protocol flow. OnStatus event is usually fired after negotiation failure due to version incompatibility.

See also:     OnError    

Discuss this help topic in SecureBlackbox Forum