java.lang.Object
io.qt.QtObject
io.qt.network.QHostInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Static functions for host name lookups
Java wrapper for Qt class QHostInfo
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQHostInfo(int)
withlookupId = -1
.QHostInfo
(int lookupId) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
abortHostLookup
(int lookupId) final QList<QHostAddress>
final void
clone()
Creates and returns a copy of this object.final QHostInfo.HostInfoError
error()
final String
static QHostInfo
final String
hostName()
static String
static String
static int
lookupHost
(String name, QObject receiver, QMetaObject.Slot1<QHostInfo> slot) SeeQHostInfo::
lookupHost<Func>(QString, const QtPrivate::FunctionPointer::Object<Func>*, Func) static int
lookupHost
(String name, QObject receiver, String member) static int
lookupHost
(String name, QMetaObject.Connectable1<QHostInfo> signal) static int
lookupHost
(String name, QMetaObject.Slot1<QHostInfo> slot) Overloaded function forlookupHost(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot1)
.final int
lookupId()
final void
setAddresses
(Collection<? extends QHostAddress> addresses) final void
setError
(QHostInfo.HostInfoError error) final void
setErrorString
(String errorString) final void
setHostName
(String name) final void
setLookupId
(int id) final void
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QHostInfo
- Parameters:
d
-
-
QHostInfo
public QHostInfo(int lookupId) - Parameters:
lookupId
-
-
QHostInfo
public QHostInfo()Overloaded constructor for
QHostInfo(int)
withlookupId = -1
.
-
-
Method Details
-
addresses
- Returns:
-
error
- Returns:
-
errorString
- Returns:
-
hostName
- Returns:
-
lookupId
- Returns:
-
assign
- Parameters:
d
-
-
setAddresses
- Parameters:
addresses
-
-
setError
- Parameters:
error
-
-
setErrorString
- Parameters:
errorString
-
-
setHostName
- Parameters:
name
-
-
setLookupId
- Parameters:
id
-
-
swap
- Parameters:
other
-
-
abortHostLookup
public static void abortHostLookup(int lookupId) - Parameters:
lookupId
-
-
fromName
- Parameters:
name
-- Returns:
-
localDomainName
- Returns:
-
localHostName
- Returns:
-
lookupHost
- Parameters:
name
-receiver
-member
-- Returns:
-
lookupHost
See
QHostInfo::
lookupHost<Func>(QString, const QtPrivate::FunctionPointer::Object<Func>*, Func) - Parameters:
name
-receiver
-slot
-- Returns:
-
lookupHost
@QtUninvokable public static int lookupHost(String name, QMetaObject.Connectable1<QHostInfo> signal) - See Also:
-
clone
Creates and returns a copy of this object.
-
lookupHost
Overloaded function for
lookupHost(java.lang.String, io.qt.core.QObject, io.qt.core.QMetaObject.Slot1)
.
-