Module Expr Str Import alias alias alias alias Import alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad FunctionDef arguments args TupleStore NameStore NameStore defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad FunctionDef arguments args TupleStore NameStore NameStore defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameStore NameLoad Assign NameStore NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list decorator_list If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign AttributeStore NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign AttributeStore NameLoad attr Str
N/A N/A 
Tests for implementations of L{IReactorUNIX} and L{IReactorUNIXDatagram}.
 N/A stat os sys types N/A socket twisted.internet interfaces reactor protocol error address defer utils twisted.python lockfile twisted.trial unittest twisted.test.test_tcp MyServerFactory MyClientFactory FailedConnectionClientFactory N/A N/A protocol ClientFactory N/A __init__ N/A N/A self onFail N/A N/A N/A N/A self onFail onFail N/A clientConnectionFailed N/A N/A self connector reason N/A N/A N/A N/A N/A N/A self onFail errback reason N/A N/A UnixSocketTestCase N/A N/A unittest TestCase N/A N/A 
    Test unix sockets.
     test_peerBind N/A N/A self N/A N/A N/A 
        The address passed to the server factory's C{buildProtocol} method and
        the address returned by the connected protocol's transport's C{getPeer}
        method match the address the client socket is bound to.
         N/A filename N/A N/A self mktemp N/A peername N/A N/A self mktemp N/A serverFactory N/A MyServerFactory N/A connMade N/A serverFactory protocolConnectionMade N/A N/A defer Deferred N/A unixPort N/A N/A reactor listenUNIX filename serverFactory N/A N/A N/A self addCleanup N/A unixPort stopListening N/A unixSocket N/A N/A socket socket N/A socket AF_UNIX N/A socket SOCK_STREAM N/A N/A N/A self addCleanup N/A unixSocket close N/A N/A N/A unixSocket bind peername N/A N/A N/A unixSocket connect filename cbConnMade N/A N/A proto N/A N/A N/A expected N/A N/A address UNIXAddress peername N/A N/A N/A self assertEqual N/A serverFactory peerAddresses N/A expected N/A N/A N/A self assertEqual N/A N/A N/A proto transport getPeer expected N/A N/A N/A N/A connMade addCallback cbConnMade N/A connMade N/A test_dumber N/A N/A self N/A N/A N/A 
        L{IReactorUNIX.connectUNIX} can be used to connect a client to a server
        started with L{IReactorUNIX.listenUNIX}.
         N/A filename N/A N/A self mktemp N/A serverFactory N/A MyServerFactory N/A serverConnMade N/A N/A defer Deferred N/A N/A serverFactory protocolConnectionMade serverConnMade N/A unixPort N/A N/A reactor listenUNIX filename serverFactory N/A N/A N/A self addCleanup N/A unixPort stopListening N/A clientFactory N/A MyClientFactory N/A clientConnMade N/A N/A defer Deferred N/A N/A clientFactory protocolConnectionMade clientConnMade N/A c N/A N/A reactor connectUNIX filename clientFactory N/A d N/A N/A defer gatherResults N/A serverConnMade clientConnMade allConnected N/A N/A N/A serverProtocol clientProtocol N/A N/A N/A N/A N/A self assertEqual N/A clientFactory peerAddresses N/A N/A N/A address UNIXAddress filename N/A N/A N/A N/A clientProtocol transport loseConnection N/A N/A N/A N/A serverProtocol transport loseConnection N/A N/A N/A N/A d addCallback allConnected N/A d N/A test_pidFile N/A N/A self N/A N/A N/A 
        A lockfile is created and locked when L{IReactorUNIX.listenUNIX} is
        called and released when the Deferred returned by the L{IListeningPort}
        provider's C{stopListening} method is called back.
         N/A filename N/A N/A self mktemp N/A serverFactory N/A MyServerFactory N/A serverConnMade N/A N/A defer Deferred N/A N/A serverFactory protocolConnectionMade serverConnMade N/A unixPort N/A N/A reactor listenUNIX filename serverFactory wantPID True N/A N/A N/A self assertTrue N/A N/A lockfile isLocked N/A filename .lock N/A clientFactory N/A MyClientFactory N/A clientConnMade N/A N/A defer Deferred N/A N/A clientFactory protocolConnectionMade clientConnMade N/A c N/A N/A reactor connectUNIX filename clientFactory checkPID 1 N/A d N/A N/A defer gatherResults N/A serverConnMade clientConnMade _portStuff N/A N/A N/A serverProtocol clientProto N/A N/A N/A N/A N/A self assertEqual N/A clientFactory peerAddresses N/A N/A N/A address UNIXAddress filename N/A N/A N/A N/A clientProto transport loseConnection N/A N/A N/A N/A serverProtocol transport loseConnection N/A N/A N/A unixPort stopListening N/A N/A N/A N/A d addCallback _portStuff _check N/A N/A ignored N/A N/A N/A N/A N/A self failIf N/A N/A lockfile isLocked N/A filename .lock locked N/A N/A N/A N/A d addCallback _check N/A d N/A test_socketLocking N/A N/A self N/A N/A N/A 
        L{IReactorUNIX.listenUNIX} raises L{error.CannotListenError} if passed
        the name of a file on which a server is already listening.
         N/A filename N/A N/A self mktemp N/A serverFactory N/A MyServerFactory N/A unixPort N/A N/A reactor listenUNIX filename serverFactory wantPID True N/A N/A N/A self assertRaises N/A error CannotListenError N/A reactor listenUNIX filename serverFactory wantPID True stoppedListening N/A N/A ign N/A N/A N/A unixPort N/A N/A reactor listenUNIX filename serverFactory wantPID True N/A N/A N/A unixPort stopListening N/A N/A N/A N/A N/A N/A unixPort stopListening addCallback stoppedListening N/A _uncleanSocketTest N/A N/A self callback N/A N/A N/A N/A self filename N/A N/A self mktemp N/A source N/A from twisted.internet import protocol, reactor
reactor.listenUNIX(%r, protocol.ServerFactory(), wantPID=True)
 N/A N/A self filename N/A env N/A PYTHONPATH N/A N/A N/A os pathsep join N/A sys path N/A d N/A N/A utils getProcessValue N/A sys executable N/A -u -c source env env N/A N/A N/A d addCallback callback N/A d N/A test_uncleanServerSocketLocking N/A N/A self N/A N/A N/A 
        If passed C{True} for the C{wantPID} parameter, a server can be started
        listening with L{IReactorUNIX.listenUNIX} when passed the name of a
        file on which a previous server which has not exited cleanly has been
        listening using the C{wantPID} option.
         ranStupidChild N/A N/A ign N/A N/A N/A p N/A N/A reactor listenUNIX N/A self filename N/A MyServerFactory wantPID True N/A N/A N/A p stopListening N/A N/A N/A N/A self _uncleanSocketTest ranStupidChild N/A test_connectToUncleanServer N/A N/A self N/A N/A N/A 
        If passed C{True} for the C{checkPID} parameter, a client connection
        attempt made with L{IReactorUNIX.connectUNIX} fails with
        L{error.BadFileError}.
         ranStupidChild N/A N/A ign N/A N/A N/A d N/A N/A defer Deferred N/A f N/A FailedConnectionClientFactory d N/A c N/A N/A reactor connectUNIX N/A self filename f checkPID True N/A N/A N/A self assertFailure d N/A error BadFileError N/A N/A N/A N/A self _uncleanSocketTest ranStupidChild N/A _reprTest N/A N/A self serverFactory factoryName N/A N/A N/A 
        Test the C{__str__} and C{__repr__} implementations of a UNIX port when
        used with the given factory.
         N/A filename N/A N/A self mktemp N/A unixPort N/A N/A reactor listenUNIX filename serverFactory N/A connectedString N/A <%s on %r> N/A factoryName filename N/A N/A N/A self assertEqual N/A repr unixPort connectedString N/A N/A N/A self assertEqual N/A str unixPort connectedString N/A d N/A N/A defer maybeDeferred N/A unixPort stopListening stoppedListening N/A N/A ign N/A N/A N/A unconnectedString N/A <%s (not listening)> N/A factoryName N/A N/A N/A self assertEqual N/A repr unixPort unconnectedString N/A N/A N/A self assertEqual N/A str unixPort unconnectedString N/A N/A N/A N/A d addCallback stoppedListening N/A d N/A test_reprWithClassicFactory N/A N/A self N/A N/A N/A 
        The two string representations of the L{IListeningPort} returned by
        L{IReactorUNIX.listenUNIX} contains the name of the classic factory
        class being used and the filename on which the port is listening or
        indicates that the port is not listening.
         ClassicFactory N/A N/A doStart N/A N/A self N/A N/A N/A N/A doStop N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self assertIsInstance ClassicFactory N/A types ClassType N/A N/A N/A self _reprTest N/A ClassicFactory twisted.test.test_unix.ClassicFactory N/A test_reprWithNewStyleFactory N/A N/A self N/A N/A N/A 
        The two string representations of the L{IListeningPort} returned by
        L{IReactorUNIX.listenUNIX} contains the name of the new-style factory
        class being used and the filename on which the port is listening or
        indicates that the port is not listening.
         NewStyleFactory N/A object N/A doStart N/A N/A self N/A N/A N/A N/A doStop N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self assertIsInstance NewStyleFactory type N/A N/A N/A self _reprTest N/A NewStyleFactory twisted.test.test_unix.NewStyleFactory N/A N/A ClientProto N/A N/A protocol ConnectedDatagramProtocol N/A N/A started stopped False N/A gotback None __init__ N/A N/A self N/A N/A N/A N/A self deferredStarted N/A N/A defer Deferred N/A N/A self deferredGotBack N/A N/A defer Deferred N/A stopProtocol N/A N/A self N/A N/A N/A N/A self stopped True N/A startProtocol N/A N/A self N/A N/A N/A N/A self started True N/A N/A N/A N/A self deferredStarted callback None N/A datagramReceived N/A N/A self data N/A N/A N/A N/A self gotback data N/A N/A N/A N/A self deferredGotBack callback None N/A N/A ServerProto N/A N/A protocol DatagramProtocol N/A N/A started stopped False N/A gotwhat gotfrom None __init__ N/A N/A self N/A N/A N/A N/A self deferredStarted N/A N/A defer Deferred N/A N/A self deferredGotWhat N/A N/A defer Deferred N/A stopProtocol N/A N/A self N/A N/A N/A N/A self stopped True N/A startProtocol N/A N/A self N/A N/A N/A N/A self started True N/A N/A N/A N/A self deferredStarted callback None N/A datagramReceived N/A N/A self data addr N/A N/A N/A N/A self gotfrom addr N/A N/A N/A N/A self transport write hi back addr N/A N/A self gotwhat data N/A N/A N/A N/A self deferredGotWhat callback None N/A N/A DatagramUnixSocketTestCase N/A N/A unittest TestCase N/A N/A 
    Test datagram UNIX sockets.
     test_exchange N/A N/A self N/A N/A N/A 
        Test that a datagram can be sent to and received by a server and vice
        versa.
         N/A clientaddr N/A N/A self mktemp N/A serveraddr N/A N/A self mktemp N/A sp N/A ServerProto N/A cp N/A ClientProto N/A s N/A N/A reactor listenUNIXDatagram serveraddr sp N/A N/A N/A self addCleanup N/A s stopListening N/A c N/A N/A reactor connectUNIXDatagram serveraddr cp bindAddress clientaddr N/A N/A N/A self addCleanup N/A c stopListening N/A d N/A N/A defer gatherResults N/A N/A sp deferredStarted N/A cp deferredStarted write N/A N/A ignored N/A N/A N/A N/A N/A N/A cp transport write hi N/A N/A N/A defer gatherResults N/A N/A sp deferredGotWhat N/A cp deferredGotBack N/A _cbTestExchange N/A N/A ignored N/A N/A N/A N/A N/A self failUnlessEqual hi N/A sp gotwhat N/A N/A N/A self failUnlessEqual clientaddr N/A sp gotfrom N/A N/A N/A self failUnlessEqual hi back N/A cp gotback N/A N/A N/A N/A d addCallback write N/A N/A N/A d addCallback _cbTestExchange N/A d N/A test_cannotListen N/A N/A self N/A N/A N/A 
        L{IReactorUNIXDatagram.listenUNIXDatagram} raises
        L{error.CannotListenError} if the unix socket specified is already in
        use.
         N/A addr N/A N/A self mktemp N/A p N/A ServerProto N/A s N/A N/A reactor listenUNIXDatagram addr p N/A N/A N/A self failUnlessRaises N/A error CannotListenError N/A reactor listenUNIXDatagram addr p N/A N/A N/A s stopListening N/A N/A N/A os unlink addr N/A _reprTest N/A N/A self serverProto protocolName N/A N/A N/A 
        Test the C{__str__} and C{__repr__} implementations of a UNIX datagram
        port when used with the given protocol.
         N/A filename N/A N/A self mktemp N/A unixPort N/A N/A reactor listenUNIXDatagram filename serverProto N/A connectedString N/A <%s on %r> N/A protocolName filename N/A N/A N/A self assertEqual N/A repr unixPort connectedString N/A N/A N/A self assertEqual N/A str unixPort connectedString N/A stopDeferred N/A N/A defer maybeDeferred N/A unixPort stopListening stoppedListening N/A N/A ign N/A N/A N/A unconnectedString N/A <%s (not listening)> N/A protocolName N/A N/A N/A self assertEqual N/A repr unixPort unconnectedString N/A N/A N/A self assertEqual N/A str unixPort unconnectedString N/A N/A N/A N/A stopDeferred addCallback stoppedListening N/A stopDeferred N/A test_reprWithClassicProtocol N/A N/A self N/A N/A N/A 
        The two string representations of the L{IListeningPort} returned by
        L{IReactorUNIXDatagram.listenUNIXDatagram} contains the name of the
        classic protocol class being used and the filename on which the port is
        listening or indicates that the port is not listening.
         ClassicProtocol N/A N/A makeConnection N/A N/A self transport N/A N/A N/A N/A doStop N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self assertIsInstance ClassicProtocol N/A types ClassType N/A N/A N/A self _reprTest N/A ClassicProtocol twisted.test.test_unix.ClassicProtocol N/A test_reprWithNewStyleProtocol N/A N/A self N/A N/A N/A 
        The two string representations of the L{IListeningPort} returned by
        L{IReactorUNIXDatagram.listenUNIXDatagram} contains the name of the
        new-style protocol class being used and the filename on which the port
        is listening or indicates that the port is not listening.
         NewStyleProtocol N/A object N/A makeConnection N/A N/A self transport N/A N/A N/A N/A doStop N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self assertIsInstance NewStyleProtocol type N/A N/A N/A self _reprTest N/A NewStyleProtocol twisted.test.test_unix.NewStyleProtocol N/A N/A N/A N/A N/A N/A interfaces IReactorUNIX reactor None N/A N/A N/A UnixSocketTestCase skip This reactor does not support UNIX domain sockets N/A N/A N/A N/A interfaces IReactorUNIXDatagram reactor None N/A N/A N/A DatagramUnixSocketTestCase skip This reactor does not support UNIX datagram sockets