Discuss this help topic in SecureBlackbox Forum

TElDNSResolver.OnPrepare

TElDNSResolver     See also     


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


This event is fired when the resolver is preparing a query to the server.

Declaration

[C#/Java]
    event TSBDNSResolverPrepareEvent OnPrepare;
    delegate void TSBDNSResolverPrepareEvent(Object Sender, string ServerName, string ServerAddress, ushort ServerPort, string Criteria, TSBDNSResourceType InfoType);

[VB.NET]
    Event OnPrepare As TSBDNSResolverPrepareEvent
    Delegate Sub TSBDNSResolverPrepareEvent(ByVal Sender As Object, ByVal ServerName As String, ByVal ServerAddress As String, ByVal ServerPort As UInt16, ByVal Criteria As String, ByVal InfoType As TSBDNSResourceType)

[Pascal]
    property OnPrepare : TSBDNSResolverPrepareEvent;
    TSBDNSResolverPrepareEvent = procedure (Sender: TObject; const ServerName, ServerAddress : string; ServerPort : word; const Criteria : string; InfoType : TSBDNSResourceType) of object;

[C++]
    void get_OnPrepare(TSBDNSResolverPrepareEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnPrepare(TSBDNSResolverPrepareEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDNSResolverPrepareEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcServerName, int32_t szServerName, const char * pcServerAddress, int32_t szServerAddress, uint16_t ServerPort, const char * pcCriteria, int32_t szCriteria, TSBDNSResourceTypeRaw InfoType);

[PHP]
    TSBDNSResolverPrepareEvent|callable|NULL get_OnPrepare()
    void set_OnPrepare(TSBDNSResolverPrepareEvent|callable|NULL $Value)
    callable TSBDNSResolverPrepareEvent(TObject $Sender, string $ServerName, string $ServerAddress, integer $ServerPort, string $Criteria, integer $InfoType)

Parameters

  • ServerName - name of the server
  • ServerAddress - server address
  • ServerPort - port on the server to connect to
  • Criteria - lookup criteria
  • InfoType - type of the resource record to query
  • pcServerName - name of the server
  • szServerName - the length of pcServerName.
  • pcServerAddress - server address
  • szServerAddress - the length of pcServerAddress.
  • pcCriteria - lookup criteria
  • szCriteria - the length of pcCriteria.

Values:


Description

    This event is fired by TElDNSResolver when it is preparing a query to the DNS server.

See also:     OnRequest     OnResponse    

Discuss this help topic in SecureBlackbox Forum