Discuss this help topic in SecureBlackbox Forum

TElSSHPublicKeyServer.OnAttributeSupported

TElSSHPublicKeyServer     See also     


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


This event is fired when the server has to find out if specified attribute is supported.

Declaration

[C#]
    event TSBSSHPublicKeyAttrubuteSupportedEvent OnAttributeSupported;
    delegate void TSBSSHPublicKeyAttrubuteSupportedEvent(Object Sender, string Attr, ref bool Supported);

[VB.NET]
    Event OnAttributeSupported As TSBSSHPublicKeyAttrubuteSupportedEvent
    Delegate Sub TSBSSHPublicKeyAttrubuteSupportedEvent(ByVal Sender As Object, ByVal Attr As String, ByRef Supported As Boolean)

[Pascal]
    property OnAttributeSupported : TSBSSHPublicKeyAttrubuteSupportedEvent;
    TSBSSHPublicKeyAttrubuteSupportedEvent = procedure(Sender: TObject; const Attr : string; var Supported : boolean) of object;

[C++]
    void get_OnAttributeSupported(TSBSSHPublicKeyAttrubuteSupportedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAttributeSupported(TSBSSHPublicKeyAttrubuteSupportedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeyAttrubuteSupportedEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcAttr, int32_t szAttr, int8_t &Supported);

[PHP]
    TSBSSHPublicKeyAttrubuteSupportedEvent|callable|NULL get_OnAttributeSupported()
    void set_OnAttributeSupported(TSBSSHPublicKeyAttrubuteSupportedEvent|callable|NULL $Value)
    callable TSBSSHPublicKeyAttrubuteSupportedEvent(TObject $Sender, string $Attr, bool &$Supported)

[Java]
    TSBSSHPublicKeyAttrubuteSupportedEvent getOnAttributeSupported();
    void setOnAttributeSupported(TSBSSHPublicKeyAttrubuteSupportedEvent Value);
    TSBSSHPublicKeyAttrubuteSupportedEvent.Callback OnAttributeSupported = new TSBSSHPublicKeyAttrubuteSupportedEvent.Callback() {
        public void TSBSSHPublicKeyAttrubuteSupportedEventCallback(TObject Sender, String Attr, TSBBoolean Supported) {
            //...
        }
    }

Parameters

  • Attr - attribute name
  • Supported - set this parameter to True if the attribute is supported and to False otherwise
  • pcAttr - attribute name
  • szAttr - the length of pcAttr.

Description

    This event is fired when the server needs to know if specified attribute is supported. Event handler has to set Supported parameter depending on attribute supporting by the implementation.

See also:     OnList     OnListAttributes    

Discuss this help topic in SecureBlackbox Forum