interface documentation

class twisted.internet.interfaces.ISystemHandle(Interface): (source)

Known implementations: twisted.internet.iocpreactor.tcp.Connection, twisted.internet.iocpreactor.udp.Port, twisted.internet.udp.Port

View In Hierarchy

An object that wraps a networking OS-specific handle.

Method getHandle Return a system- and reactor-specific handle.
def getHandle(): (source)

Return a system- and reactor-specific handle.

This might be a socket.socket() object, or some other type of object, depending on which reactor is being used. Use and manipulate at your own risk.

This might be used in cases where you want to set specific options not exposed by the Twisted APIs.

ReturnsUndocumented (type: object)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.