ZDK
IDNSRequest.h
1 #ifndef __IDNSRequest__
2 #define __IDNSRequest__
3 
4 #include "Types/SharedPointerTypes.h"
5 #include "IZHandle.h"
6 
7 namespace ZDK
8 {
9 
10 class IDNSRequest : public virtual ZDK::IZHandle
11 {
12 public:
13  //# @abi(all) documentation
19  //# @abi(jni|obj_c) property
20  virtual ZDK::ZDKHandle DNSRequestHandle() const = 0;
21 
22  //# @abi(all) documentation
28  //# @abi(jni|obj_c) property
29  virtual const ZDK::Shared::String Query() const = 0;
30 
31  //# @abi(all) documentation
37  virtual ZDK::Shared::Result Start(ZDK::Shared::String query) = 0;
38 
39  //# @abi(all) documentation
47  //# @abi(obj_c|jni) @param(value) delegate|register
48  virtual void SetStatusEventListener(ZDK::Shared::DNSRequestEventsHandler value) = 0;
49 
50  //# @abi(all) documentation
58  //# @abi(obj_c|jni) @param(value) delegate|register
59  virtual void DropStatusEventListener(ZDK::Shared::DNSRequestEventsHandler value) = 0;
60 };
61 
62 } //namespace ZDK
63 
64 #endif //__IDNSRequest__
Definition: IZHandle.h:12
virtual ZDK::Shared::Result Start(ZDK::Shared::String query)=0
Start a DNS request.
virtual const ZDK::Shared::String Query() const =0
Gets DNS Query.
virtual ZDK::ZDKHandle DNSRequestHandle() const =0
Gets DNS handle.
Definition: IAccountConfig.h:10
virtual void SetStatusEventListener(ZDK::Shared::DNSRequestEventsHandler value)=0
Set dns request events listener.
virtual void DropStatusEventListener(ZDK::Shared::DNSRequestEventsHandler value)=0
Drop dns request events listener.
Definition: IDNSRequest.h:10