Discuss this help topic in SecureBlackbox Forum

TElSimpleSSHClient.OnBanner

TElSimpleSSHClient     


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


This event is fired when the hello message from the server is received.

Declaration

[C#]
    event TSSHBannerEvent OnBanner;
    delegate void TSSHBannerEvent(Object Sender, byte[] Text, byte[] Language);

[VB.NET]
    Event OnBanner As TSSHBannerEvent
    Delegate Sub TSSHBannerEvent(ByVal Sender As Object, ByVal Text As Byte(), ByVal Language As Byte())

[Pascal]
    property OnBanner : TSSHBannerEvent;
    TSSHBannerEvent = procedure (Sender: TObject; const Text : string; const Language : string) of object;

[C++]
    void get_OnBanner(TSSHBannerEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBanner(TSSHBannerEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHBannerEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pText[], int32_t szText, const uint8_t pLanguage[], int32_t szLanguage);

[PHP]
    TSSHBannerEvent|callable|NULL get_OnBanner()
    void set_OnBanner(TSSHBannerEvent|callable|NULL $Value)
    callable TSSHBannerEvent(TObject $Sender, string $Text, string $Language)

[Java]
    TSSHBannerEvent getOnBanner();
    void setOnBanner(TSSHBannerEvent Value);
    TSSHBannerEvent.Callback OnBanner = new TSSHBannerEvent.Callback() {
        public void TSSHBannerEventCallback(TObject Sender, byte[] Text, byte[] Language) {
            //...
        }
    }

Parameters

  • Text - text of the message
  • Language - message language
  • pText -
  • szText - the length of pcText.
  • pLanguage -
  • szLanguage - the length of pcLanguage.

Description

    TElSimpleSSHClient fires this event when it receives hello message from the server.

Discuss this help topic in SecureBlackbox Forum