Package org.jivesoftware.smackx.dox
Class DnsOverXmppManager
- java.lang.Object
-
- org.jivesoftware.smack.Manager
-
- org.jivesoftware.smackx.dox.DnsOverXmppManager
-
public final class DnsOverXmppManager extends Manager
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
void
enable()
static DnsOverXmppManager
getInstanceFor(XMPPConnection connection)
boolean
isSupported(Jid jid)
DnsMessage
query(Jid jid, DnsMessage query)
DnsMessage
query(Jid jid, Question question)
static void
setDefaultDnsOverXmppResolver(DnsOverXmppResolver resolver)
void
setDnsOverXmppResolver(DnsOverXmppResolver resolver)
-
Methods inherited from class org.jivesoftware.smack.Manager
connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
-
-
-
-
Method Detail
-
getInstanceFor
public static DnsOverXmppManager getInstanceFor(XMPPConnection connection)
-
setDefaultDnsOverXmppResolver
public static void setDefaultDnsOverXmppResolver(DnsOverXmppResolver resolver)
-
setDnsOverXmppResolver
public void setDnsOverXmppResolver(DnsOverXmppResolver resolver)
-
enable
public void enable()
-
disable
public void disable()
-
isSupported
public boolean isSupported(Jid jid) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
query
public DnsMessage query(Jid jid, Question question) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
query
public DnsMessage query(Jid jid, DnsMessage query) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
- Throws:
SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
java.lang.InterruptedException
-
-