twisted.internet.test.test_unix.SocketUNIXMixin(object) class documentationtwisted.internet.test.test_unix
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_unix.UNIXFDPortTestsBuilder
Mixin which uses IReactorSocket.adoptStreamPort
to hand out listening UNIX ports.
| Method | getListeningPort | Get a UNIX port from a reactor, wrapping an already-initialized file descriptor. | 
| Method | connectToListener | Connect to a listening UNIX socket. | 
Get a UNIX port from a reactor, wrapping an already-initialized file descriptor.
Connect to a listening UNIX socket.
| Parameters | reactor | The reactor under test. (type: IReactorUNIX) | 
| address | The listening's address. (type: UNIXAddress) | |
| factory | The client factory. (type: ClientFactory) | |
| Returns | The connector | |