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 « QTcpServer »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QTcpServer

Définition

class QTcpServer(QObject):

Description [extrait de QTcpServer.__doc__]

QTcpServer(self, parent: Optional[PySide6.QtCore.QObject] = None) -> 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__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dcecd040>

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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
acceptError
addPendingConnection(self, socket: PySide6.QtNetwork.QTcpSocket) -> None addPendingConnection(self, socket: PySide6.QtNetwork.QTcpSocket) -> None [extrait de addPendingConnection.__doc__]
close(self) -> None close(self) -> None [extrait de close.__doc__]
destroyed
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
hasPendingConnections(self) -> bool hasPendingConnections(self) -> bool [extrait de hasPendingConnections.__doc__]
incomingConnection(self, handle: int) -> None incomingConnection(self, handle: int) -> None [extrait de incomingConnection.__doc__]
isListening(self) -> bool isListening(self) -> bool [extrait de isListening.__doc__]
listen(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress] = PySide6.QtNetwork.QHostAddress.SpecialAddress.Any, port: int = 0) -> bool listen(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress] = PySide6.QtNetwork.QHostAddress.SpecialAddress.Any, port: int = 0) -> bool [extrait de listen.__doc__]
maxPendingConnections(self) -> int maxPendingConnections(self) -> int [extrait de maxPendingConnections.__doc__]
newConnection
nextPendingConnection(self) -> PySide6.QtNetwork.QTcpSocket nextPendingConnection(self) -> PySide6.QtNetwork.QTcpSocket [extrait de nextPendingConnection.__doc__]
objectNameChanged
pauseAccepting(self) -> None pauseAccepting(self) -> None [extrait de pauseAccepting.__doc__]
proxy(self) -> PySide6.QtNetwork.QNetworkProxy proxy(self) -> PySide6.QtNetwork.QNetworkProxy [extrait de proxy.__doc__]
resumeAccepting(self) -> None resumeAccepting(self) -> None [extrait de resumeAccepting.__doc__]
serverAddress(self) -> PySide6.QtNetwork.QHostAddress serverAddress(self) -> PySide6.QtNetwork.QHostAddress [extrait de serverAddress.__doc__]
serverError(self) -> PySide6.QtNetwork.QAbstractSocket.SocketError serverError(self) -> PySide6.QtNetwork.QAbstractSocket.SocketError [extrait de serverError.__doc__]
serverPort(self) -> int serverPort(self) -> int [extrait de serverPort.__doc__]
setMaxPendingConnections(self, numConnections: int) -> None setMaxPendingConnections(self, numConnections: int) -> None [extrait de setMaxPendingConnections.__doc__]
setProxy(self, networkProxy: Union[PySide6.QtNetwork.QNetworkProxy, PySide6.QtNetwork.QNetworkProxy.ProxyType]) -> None setProxy(self, networkProxy: Union[PySide6.QtNetwork.QNetworkProxy, PySide6.QtNetwork.QNetworkProxy.ProxyType]) -> None [extrait de setProxy.__doc__]
setSocketDescriptor(self, socketDescriptor: int) -> bool setSocketDescriptor(self, socketDescriptor: int) -> bool [extrait de setSocketDescriptor.__doc__]
socketDescriptor(self) -> int socketDescriptor(self) -> int [extrait de socketDescriptor.__doc__]
tr
waitForNewConnection(self, msec: int) -> Tuple[Tuple, bool] waitForNewConnection(self, msec: int) -> Tuple[Tuple, bool] [extrait de waitForNewConnection.__doc__]

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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

__getattribute__, __init_subclass__, __subclasshook__

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

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