Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtNetwork »

Classe « QNetworkDatagram »

Informations générales

Héritage

builtins.object
    Object
        QNetworkDatagram

Définition

class QNetworkDatagram(Object):

Description [extrait de QNetworkDatagram.__doc__]

QNetworkDatagram(self) -> None
QNetworkDatagram(self, data: Union[PySide6.QtCore.QByteArray, bytes], destinationAddress: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress] = Default(QHostAddress), port: int = 0) -> None
QNetworkDatagram(self, other: Union[PySide6.QtNetwork.QNetworkDatagram, PySide6.QtCore.QByteArray]) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
data(self) -> PySide6.QtCore.QByteArray data(self) -> PySide6.QtCore.QByteArray [extrait de data.__doc__]
destinationAddress(self) -> PySide6.QtNetwork.QHostAddress destinationAddress(self) -> PySide6.QtNetwork.QHostAddress [extrait de destinationAddress.__doc__]
destinationPort(self) -> int destinationPort(self) -> int [extrait de destinationPort.__doc__]
hopLimit(self) -> int hopLimit(self) -> int [extrait de hopLimit.__doc__]
interfaceIndex(self) -> int interfaceIndex(self) -> int [extrait de interfaceIndex.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
makeReply(self, payload: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtNetwork.QNetworkDatagram makeReply(self, payload: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtNetwork.QNetworkDatagram [extrait de makeReply.__doc__]
senderAddress(self) -> PySide6.QtNetwork.QHostAddress senderAddress(self) -> PySide6.QtNetwork.QHostAddress [extrait de senderAddress.__doc__]
senderPort(self) -> int senderPort(self) -> int [extrait de senderPort.__doc__]
setData(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> None setData(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setData.__doc__]
setDestination(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress], port: int) -> None setDestination(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress], port: int) -> None [extrait de setDestination.__doc__]
setHopLimit(self, count: int) -> None setHopLimit(self, count: int) -> None [extrait de setHopLimit.__doc__]
setInterfaceIndex(self, index: int) -> None setInterfaceIndex(self, index: int) -> None [extrait de setInterfaceIndex.__doc__]
setSender(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress], port: int = 0) -> None setSender(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress], port: int = 0) -> None [extrait de setSender.__doc__]
swap(self, other: Union[PySide6.QtNetwork.QNetworkDatagram, PySide6.QtCore.QByteArray]) -> None swap(self, other: Union[PySide6.QtNetwork.QNetworkDatagram, PySide6.QtCore.QByteArray]) -> None [extrait de swap.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__