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 « PySide2.QtNetwork »

Classe « QLocalSocket »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QIODevice
                QLocalSocket

Définition

class QLocalSocket(QIODevice):

Description [extrait de QLocalSocket.__doc__]

QLocalSocket(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = 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, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AppendPySide2.QtCore.QIODevice.OpenModeFlag.Append
ClosingStatePySide2.QtNetwork.QLocalSocket.LocalSocketState.ClosingState
ConnectedStatePySide2.QtNetwork.QLocalSocket.LocalSocketState.ConnectedState
ConnectingStatePySide2.QtNetwork.QLocalSocket.LocalSocketState.ConnectingState
ConnectionErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.ConnectionError
ConnectionRefusedErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.ConnectionRefusedError
DatagramTooLargeErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.DatagramTooLargeError
ExistingOnlyPySide2.QtCore.QIODevice.OpenModeFlag.ExistingOnly
NewOnlyPySide2.QtCore.QIODevice.OpenModeFlag.NewOnly
NotOpenPySide2.QtCore.QIODevice.OpenModeFlag.NotOpen
OperationErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.OperationError
PeerClosedErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.PeerClosedError
ReadOnlyPySide2.QtCore.QIODevice.OpenModeFlag.ReadOnly
ReadWritePySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite
ServerNotFoundErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.ServerNotFoundError
SocketAccessErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.SocketAccessError
SocketResourceErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.SocketResourceError
SocketTimeoutErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.SocketTimeoutError
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe346c9300>
TextPySide2.QtCore.QIODevice.OpenModeFlag.Text
TruncatePySide2.QtCore.QIODevice.OpenModeFlag.Truncate
UnbufferedPySide2.QtCore.QIODevice.OpenModeFlag.Unbuffered
UnconnectedStatePySide2.QtNetwork.QLocalSocket.LocalSocketState.UnconnectedState
UnknownSocketErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.UnknownSocketError
UnsupportedSocketOperationErrorPySide2.QtNetwork.QLocalSocket.LocalSocketError.UnsupportedSocketOperationError
WriteOnlyPySide2.QtCore.QIODevice.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) abort(self) [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) close(self) [extrait de close.__doc__]
connected
connectToServer connectToServer(self, name: str, openMode: PySide2.QtCore.QIODevice.OpenMode = PySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite) [extrait de connectToServer.__doc__]
destroyed
disconnected
disconnectFromServer(self) disconnectFromServer(self) [extrait de disconnectFromServer.__doc__]
error
error.overload(self) -> PySide2.QtNetwork.QLocalSocket.LocalSocketError error(self) -> PySide2.QtNetwork.QLocalSocket.LocalSocketError [extrait de error.__doc__]
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: PySide2.QtCore.QIODevice.OpenMode = PySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite) -> bool open(self, openMode: PySide2.QtCore.QIODevice.OpenMode = PySide2.QtCore.QIODevice.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) -> int readData(self, arg__1: bytes, arg__2: int) -> int [extrait de readData.__doc__]
readyRead
serverName(self) -> str serverName(self) -> str [extrait de serverName.__doc__]
setReadBufferSize(self, size: int) setReadBufferSize(self, size: int) [extrait de setReadBufferSize.__doc__]
setServerName(self, name: str) setServerName(self, name: str) [extrait de setServerName.__doc__]
setSocketDescriptor(self, socketDescriptor: int, socketState: PySide2.QtNetwork.QLocalSocket.LocalSocketState = PySide2.QtNetwork.QAbstractSocket.SocketState.ConnectedState, openMode: PySide2.QtCore.QIODevice.OpenMode = PySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite) -> bool setSocketDescriptor(self, socketDescriptor: int, socketState: PySide2.QtNetwork.QLocalSocket.LocalSocketState = PySide2.QtNetwork.QAbstractSocket.SocketState.ConnectedState, openMode: PySide2.QtCore.QIODevice.OpenMode = PySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite) -> bool [extrait de setSocketDescriptor.__doc__]
socketDescriptor(self) -> int socketDescriptor(self) -> int [extrait de socketDescriptor.__doc__]
state(self) -> PySide2.QtNetwork.QLocalSocket.LocalSocketState state(self) -> PySide2.QtNetwork.QLocalSocket.LocalSocketState [extrait de state.__doc__]
stateChanged
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, openMode, OpenModeFlag, 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 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, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__

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

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