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

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice
                QLocalSocket

Définition

class QLocalSocket(QIODevice):

Description [extrait de QLocalSocket.__doc__]

QLocalSocket(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
AbstractNamespaceOptionPySide6.QtNetwork.QLocalSocket.SocketOption.AbstractNamespaceOption
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
ClosingStatePySide6.QtNetwork.QLocalSocket.LocalSocketState.ClosingState
ConnectedStatePySide6.QtNetwork.QLocalSocket.LocalSocketState.ConnectedState
ConnectingStatePySide6.QtNetwork.QLocalSocket.LocalSocketState.ConnectingState
ConnectionErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.ConnectionError
ConnectionRefusedErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.ConnectionRefusedError
DatagramTooLargeErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.DatagramTooLargeError
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NoOptionsPySide6.QtNetwork.QLocalSocket.SocketOption.NoOptions
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
OperationErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.OperationError
PeerClosedErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.PeerClosedError
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
ServerNotFoundErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.ServerNotFoundError
SocketAccessErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.SocketAccessError
SocketResourceErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.SocketResourceError
SocketTimeoutErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.SocketTimeoutError
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dcebe640>
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
UnconnectedStatePySide6.QtNetwork.QLocalSocket.LocalSocketState.UnconnectedState
UnknownSocketErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.UnknownSocketError
UnsupportedSocketOperationErrorPySide6.QtNetwork.QLocalSocket.LocalSocketError.UnsupportedSocketOperationError
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

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__]
abort(self) -> None abort(self) -> None [extrait de abort.__doc__]
aboutToClose
bytesAvailable(self) -> int bytesAvailable(self) -> int [extrait de bytesAvailable.__doc__]
bytesToWrite(self) -> int bytesToWrite(self) -> int [extrait de bytesToWrite.__doc__]
bytesWritten
canReadLine(self) -> bool canReadLine(self) -> bool [extrait de canReadLine.__doc__]
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
connected
connectToServer connectToServer(self, name: str, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> None [extrait de connectToServer.__doc__]
destroyed
disconnected
disconnectFromServer(self) -> None disconnectFromServer(self) -> None [extrait de disconnectFromServer.__doc__]
error(self) -> PySide6.QtNetwork.QLocalSocket.LocalSocketError error(self) -> PySide6.QtNetwork.QLocalSocket.LocalSocketError [extrait de error.__doc__]
errorOccurred
flush(self) -> bool flush(self) -> bool [extrait de flush.__doc__]
fullServerName(self) -> str fullServerName(self) -> str [extrait de fullServerName.__doc__]
isSequential(self) -> bool isSequential(self) -> bool [extrait de isSequential.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
LocalSocketError
LocalSocketState
objectNameChanged
open(self, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool open(self, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool [extrait de open.__doc__]
readBufferSize(self) -> int readBufferSize(self) -> int [extrait de readBufferSize.__doc__]
readChannelFinished
readData(self, arg__1: bytes, arg__2: int) -> object readData(self, arg__1: bytes, arg__2: int) -> object [extrait de readData.__doc__]
readyRead
serverName(self) -> str serverName(self) -> str [extrait de serverName.__doc__]
setReadBufferSize(self, size: int) -> None setReadBufferSize(self, size: int) -> None [extrait de setReadBufferSize.__doc__]
setServerName(self, name: str) -> None setServerName(self, name: str) -> None [extrait de setServerName.__doc__]
setSocketDescriptor(self, socketDescriptor: int, socketState: PySide6.QtNetwork.QLocalSocket.LocalSocketState = PySide6.QtNetwork.QAbstractSocket.SocketState.ConnectedState, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool setSocketDescriptor(self, socketDescriptor: int, socketState: PySide6.QtNetwork.QLocalSocket.LocalSocketState = PySide6.QtNetwork.QAbstractSocket.SocketState.ConnectedState, openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool [extrait de setSocketDescriptor.__doc__]
setSocketOptions(self, option: PySide6.QtNetwork.QLocalSocket.SocketOptions) -> None setSocketOptions(self, option: PySide6.QtNetwork.QLocalSocket.SocketOptions) -> None [extrait de setSocketOptions.__doc__]
skipData(self, maxSize: int) -> int skipData(self, maxSize: int) -> int [extrait de skipData.__doc__]
socketDescriptor(self) -> int socketDescriptor(self) -> int [extrait de socketDescriptor.__doc__]
SocketOption
SocketOptions
socketOptions(self) -> PySide6.QtNetwork.QLocalSocket.SocketOptions socketOptions(self) -> PySide6.QtNetwork.QLocalSocket.SocketOptions [extrait de socketOptions.__doc__]
state(self) -> PySide6.QtNetwork.QLocalSocket.LocalSocketState state(self) -> PySide6.QtNetwork.QLocalSocket.LocalSocketState [extrait de state.__doc__]
stateChanged
tr
waitForBytesWritten(self, msecs: int = 30000) -> bool waitForBytesWritten(self, msecs: int = 30000) -> bool [extrait de waitForBytesWritten.__doc__]
waitForConnected(self, msecs: int = 30000) -> bool waitForConnected(self, msecs: int = 30000) -> bool [extrait de waitForConnected.__doc__]
waitForDisconnected(self, msecs: int = 30000) -> bool waitForDisconnected(self, msecs: int = 30000) -> bool [extrait de waitForDisconnected.__doc__]
waitForReadyRead(self, msecs: int = 30000) -> bool waitForReadyRead(self, msecs: int = 30000) -> bool [extrait de waitForReadyRead.__doc__]
writeData(self, arg__1: bytes, arg__2: int) -> int writeData(self, arg__1: bytes, arg__2: int) -> int [extrait de writeData.__doc__]

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

__init_subclass__, __subclasshook__, atEnd, commitTransaction, currentReadChannel, currentWriteChannel, errorString, getChar, isOpen, isReadable, isTextModeEnabled, isTransactionStarted, isWritable, openMode, peek, pos, putChar, read, readAll, readChannelCount, readLine, readLineData, reset, rollbackTransaction, seek, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, size, skip, startTransaction, ungetChar, write, writeChannelCount

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

__copy__, __init_subclass__, __subclasshook__, OpenMode, OpenModeFlag

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__