- 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 class QNetworkAddressEntry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQNetworkAddressEntry::DnsEligibilityStatus
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkAddressEntry other) final QHostAddress
final void
clone()
Creates and returns a copy of this object.final boolean
equals
(QNetworkAddressEntry other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QNetworkAddressEntry)
.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
setAddressLifetime
(QDeadlineTimer preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setBroadcast
(QHostAddress newBroadcast) final void
setBroadcast
(QHostAddress.SpecialAddress newBroadcast) Overloaded function forsetBroadcast(io.qt.network.QHostAddress)
.final void
final void
setIp
(QHostAddress newIp) final void
setIp
(QHostAddress.SpecialAddress newIp) Overloaded function forsetIp(io.qt.network.QHostAddress)
.final void
setNetmask
(QHostAddress newNetmask) final void
setNetmask
(QHostAddress.SpecialAddress newNetmask) Overloaded function forsetNetmask(io.qt.network.QHostAddress)
.final void
setPrefixLength
(int length) final void
swap
(QNetworkAddressEntry other) toString()
Seeoperator<<(QDebug,
QNetworkAddressEntry) final QDeadlineTimer
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkAddressEntry
public QNetworkAddressEntry() -
QNetworkAddressEntry
- Parameters:
other
-
-
-
Method Details
-
broadcast
- Returns:
-
clearAddressLifetime
-
dnsEligibility
- Returns:
-
ip
- Returns:
-
isLifetimeKnown
- Returns:
-
isPermanent
- Returns:
-
isTemporary
- Returns:
-
netmask
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
preferredLifetime
- Returns:
-
prefixLength
- Returns:
-
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer validity) - Parameters:
preferred
-validity
-
-
setBroadcast
- Parameters:
newBroadcast
-
-
setDnsEligibility
@QtUninvokable public final void setDnsEligibility(QNetworkAddressEntry.DnsEligibilityStatus status) - Parameters:
status
-
-
setIp
- Parameters:
newIp
-
-
setNetmask
- Parameters:
newNetmask
-
-
setPrefixLength
- Parameters:
length
-
-
swap
- Parameters:
other
-
-
validityLifetime
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNetworkAddressEntry)
. -
toString
See
operator<<(QDebug,
QNetworkAddressEntry) -
clone
Creates and returns a copy of this object.
See
QNetworkAddressEntry::
QNetworkAddressEntry(QNetworkAddressEntry) -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setBroadcast
Overloaded function for
setBroadcast(io.qt.network.QHostAddress)
. -
setIp
Overloaded function for
setIp(io.qt.network.QHostAddress)
. -
setNetmask
Overloaded function for
setNetmask(io.qt.network.QHostAddress)
.
-