java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.network.QNetworkAddressEntry
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores one IP address supported by a network interface, along with its associated netmask and broadcast address
Java wrapper for Qt's class QNetworkAddressEntry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QNetworkAddressEntry::DnsEligibilityStatusNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QHostAddress
final void
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final QHostAddress
ip()
final boolean
final boolean
final boolean
final QHostAddress
netmask()
final QDeadlineTimer
final int
final void
setAddressLifetime
(QDeadlineTimer preferred, QDeadlineTimer validity) final void
setBroadcast
(QHostAddress newBroadcast) final void
final void
setIp
(QHostAddress newIp) final void
setNetmask
(QHostAddress newNetmask) final void
setPrefixLength
(int length) final void
swap
(QNetworkAddressEntry other) final QDeadlineTimer
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkAddressEntry
public QNetworkAddressEntry() -
QNetworkAddressEntry
-
QNetworkAddressEntry
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
broadcast
-
clearAddressLifetime
-
dnsEligibility
-
ip
-
isLifetimeKnown
-
isPermanent
-
isTemporary
-
netmask
-
preferredLifetime
-
prefixLength
-
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer validity) -
setBroadcast
-
setDnsEligibility
@QtUninvokable public final void setDnsEligibility(QNetworkAddressEntry.DnsEligibilityStatus status) -
setIp
-
setNetmask
-
setPrefixLength
-
swap
-
validityLifetime
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-