java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QNetworkAddressEntry
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QNetworkAddressEntry extends QtObject implements 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
Nested Classes Modifier and Type Class Description static class
QNetworkAddressEntry.DnsEligibilityStatus
Java wrapper for Qt enum QNetworkAddressEntry::DnsEligibilityStatus -
Constructor Summary
Constructors Modifier Constructor Description QNetworkAddressEntry()
QNetworkAddressEntry(QNetworkAddressEntry other)
protected
QNetworkAddressEntry(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QHostAddress
broadcast()
void
clearAddressLifetime()
QNetworkAddressEntry
clone()
QNetworkAddressEntry.DnsEligibilityStatus
dnsEligibility()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
QHostAddress
ip()
boolean
isLifetimeKnown()
boolean
isPermanent()
boolean
isTemporary()
QHostAddress
netmask()
QDeadlineTimer
preferredLifetime()
int
prefixLength()
void
setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer validity)
void
setBroadcast(QHostAddress newBroadcast)
void
setDnsEligibility(QNetworkAddressEntry.DnsEligibilityStatus status)
void
setIp(QHostAddress newIp)
void
setNetmask(QHostAddress newNetmask)
void
setPrefixLength(int length)
void
swap(QNetworkAddressEntry other)
QDeadlineTimer
validityLifetime()
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-