interface documentation
class _IInputOutputSystem(Interface): (source)
Known implementations: twisted.pair.testing.MemoryIOSystem
An interface for performing some basic kinds of I/O (particularly that I/O which might be useful for twisted.pair.tuntap-using code).
| Method | close |
No summary |
| Method | ioctl |
No summary |
| Method | open |
No summary |
| Method | read |
No summary |
| Method | receive |
Return a socket which can be used to receive datagrams sent to the given address. |
| Method | send |
Send a datagram to a certain address. |
| Method | write |
No summary |
| Attribute | O |
No summary |
| Attribute | O |
No summary |
| Attribute | O |
No summary |
Return a socket which can be used to receive datagrams sent to the given address.
| Parameters | |
fileno:int | A file descriptor representing a tunnel device which the datagram was either sent via or will be received via. |
host:bytes | The IPv4 address at which the datagram will be received. |
port:int | The UDP port number at which the datagram will be received. |
| Returns | |
A socket.socket which can be used to receive the specified datagram. |