Discuss this help topic in SecureBlackbox Forum

TElDNSResolver.OnRequest

TElDNSResolver     See also     


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


This event is fired when the resolver is sending a request to the server.

Declaration

[C#]
    event TSBDNSResolverRequestEvent OnRequest;
    delegate void TSBDNSResolverRequestEvent(Object Sender, TElDNSMessage Request);

[VB.NET]
    Event OnRequest As TSBDNSResolverRequestEvent
    Delegate Sub TSBDNSResolverRequestEvent(ByVal Sender As Object, ByVal Request As TElDNSMessage)

[Pascal]
    property OnRequest : TSBDNSResolverRequestEvent;
    TSBDNSResolverRequestEvent = procedure (Sender: TObject; Request : TElDNSMessage) of object;

[C++]
    void get_OnRequest(TSBDNSResolverRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnRequest(TSBDNSResolverRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDNSResolverRequestEvent)(void * _ObjectData, TObjectHandle Sender, TElDNSMessageHandle Request);

[PHP]
    TSBDNSResolverRequestEvent|callable|NULL get_OnRequest()
    void set_OnRequest(TSBDNSResolverRequestEvent|callable|NULL $Value)
    callable TSBDNSResolverRequestEvent(TObject $Sender, TElDNSMessage $Request)

[Java]
    TSBDNSResolverRequestEvent getOnRequest();
    void setOnRequest(TSBDNSResolverRequestEvent Value);
    TSBDNSResolverRequestEvent.Callback OnRequest = new TSBDNSResolverRequestEvent.Callback() {
        public void TSBDNSResolverRequestEventCallback(TObject Sender, TElDNSMessage Request) {
            //...
        }
    }

Parameters

  • Request - the request being sent

Description

    This event is fired by TElDNSResolver when it is sending a request to the DNS server.

See also:     OnPrepare     OnResponse    

Discuss this help topic in SecureBlackbox Forum