
    hi\                     R   S r SSKrSSKrSSKrSSKrSSKJrJrJrJ	r	J
r
Jr  SSKJrJr  SSKJrJrJr  SSKJrJrJrJrJrJrJrJr  SSKJr  SSKJrJ r J!r!J"r"  SS	K#J$r$  SS
K%J&r&  SSK'J(r(   SSKJ)r*  \*r)\," \S5      (       d  \+" S5      eS r- " S S5      r. " S S5      r/\)(       a  \.r.O\/r.\" \R`                  5       " S S\.\Rb                  5      5       r1S r2 " S S5      r3 " S S\3\Rh                  5      r4\" \R`                  5       " S S\.\Rj                  5      5       r6 " S S\Rn                  5      r8\" \Rr                  5       " S S \3\Rh                  5      5       r:\" \Rv                  /\" \Rx                  5      Q76  " S! S"\:5      5       r=g! \+ a    Sr) GN/f = f)#z
UNIX socket support for Twisted.

End users shouldn't use this module directly - use the reactor APIs instead.

Maintainer: Itamar Shtull-Trauring
    N)EAGAINECONNREFUSEDEINTREMSGSIZEENOBUFSEWOULDBLOCK)OptionalType)implementedByimplementerimplementer_only)addressbaseerror
interfacesmainprotocoltcpudp)FileDescriptor)failurelockfilelogreflect)lazyByteSlice)_coerceToFilesystemEncoding)untilConcludes)sendmsgAF_UNIXz+UNIX sockets not supported on this platformc                 t    [         R                  " SU 5      n[        R                  [        R
                  U4/$ )z\
Pack an integer into an ancillary data structure suitable for use with
L{sendmsg.sendmsg}.
i)structpacksocket
SOL_SOCKETr   
SCM_RIGHTS)fdpackeds     \/root/1688_scrapy/alibaba-scraper/venv/lib/python3.13/site-packages/twisted/internet/unix.py_ancillaryDescriptorr*   )   s0    
 [[b!F 2 2F;<<    c                   \    \ rS rSr% SrSr\\\      \	S'   Sr
S rS rS rS	 rS
 rS rSrg)_SendmsgMixin2   a  
Mixin for stream-oriented UNIX transports which uses sendmsg and recvmsg to
offer additional functionality, such as copying file descriptors into other
processes.

@ivar _writeSomeDataBase: The class which provides the basic implementation
    of C{writeSomeData}.  Ultimately this should be a subclass of
    L{twisted.internet.abstract.FileDescriptor}.  Subclasses which mix in
    L{_SendmsgMixin} must define this.

@ivar _sendmsgQueue: A C{list} of C{int} holding file descriptors which are
    currently buffered before being sent.

@ivar _fileDescriptorBufferSize: An C{int} giving the maximum number of file
    descriptors to accept and queue for sending before pausing the
    registered producer, if there is one.
N_writeSomeDataBase@   c                     / U l         g N_sendmsgQueueselfs    r)   __init___SendmsgMixin.__init__H   s
    r+   c                     [        U R                  5      U R                  :  =(       d    U R                  R	                  U 5      $ )af  
Determine whether the user-space send buffer for this transport is full
or not.

This extends the base determination by adding consideration of how many
file descriptors need to be sent using L{sendmsg.sendmsg}.  When there
are more than C{self._fileDescriptorBufferSize}, the buffer is
considered full.

@return: C{True} if it is full, C{False} otherwise.
)lenr4   _fileDescriptorBufferSizer/   _isSendBufferFullr5   s    r)   r<   _SendmsgMixin._isSendBufferFullK   sD    & 
**+ 
.2.E.E.W.W/
	
r+   c                 z    U R                   R                  U5        U R                  5         U R                  5         g)zI
Queue the given file descriptor to be sent and start trying to send it.
N)r4   append_maybePauseProducerstartWriting)r6   filenos     r)   sendFileDescriptor _SendmsgMixin.sendFileDescriptord   s0     	!!&)  "r+   c                    [        U R                  5      [        U5      :  a  [        R                  " 5       $ Sn U[        U R                  5      :  ad  U R                  U   n [	        [
        R
                  U R                  XUS-    [        U5      5        US-  nU[        U R                  5      :  a  Md  U R                  SU2	 [        X5      nU R                  R!                  X5      n X&-   $ ! [         a\  nUR                  S   [        [        4;   a  Us SnAU R                  SU2	 $ [        R                  s SnAU R                  SU2	 $ SnAff = f! U R                  SU2	 f = f! ["         a    Us $ f = f)zO
Send as much of C{data} as possible.  Also send any pending file
descriptors.
r      N)r:   r4   r   FileDescriptorOverrunr   r   r$   r*   OSErrorargsr   r   r   CONNECTION_LOSTr   r/   writeSomeData	TypeError)r6   dataindexr'   selimitedDataresults          r)   rK   _SendmsgMixin.writeSomeDatal   sw    t!!"SY...00 	+#d0011''."UQY/,R0	 QJE #d0011" ""6E6* $D0((66tI	>!  4wwqzk7%;;$ ""6E6*	  $333 ""6E6*4 ""6E6*  	M	s_   (E $4C2 E .E/ 2
E<EEE /E>E?E EE E,/E>=E>c           
      :    [        [        R                  U R                  U R                  5      u  pnU H  u  pVnU[        R                  :X  a'  U[        R                  :X  a  U R                  U5        MA  [        R                  " SU R                  5       U R!                  5       U R#                  U R$                  5      UUS9  M     U R'                  U5      $ ! [
         a6  nUR                  S   [        :X  a   SnAg[        R                  s SnA$ SnAff = f)a  
Calls {IProtocol.dataReceived} with all available data and
L{IFileDescriptorReceiver.fileDescriptorReceived} once for each
received file descriptor in ancillary data.

This reads up to C{self.bufferSize} bytes of data from its socket, then
dispatches the data to protocol callbacks to be handled.  If the
connection is not lost through an error in the underlying recvmsg(),
this function will return the result of the dataReceived call.
r   Nz%(protocolName)s (on %(hostAddress)r) received unsupported ancillary data (level=%(cmsgLevel)r, type=%(cmsgType)r) from %(peerAddress)r.)formathostAddresspeerAddressprotocolName	cmsgLevelcmsgType)r   r   recvmsgr$   
bufferSizerH   rI   r   r   rJ   r%   r&   %_ancillaryLevelSOLSOCKETTypeSCMRIGHTSr   msggetHostgetPeer_getLogPrefixr   _dataReceived)r6   rM   	ancillaryflagsrO   rX   rY   cmsgDatas           r)   doRead_SendmsgMixin.doRead   s    	,%3doo&"DU .7)IF---(g>P>P2P::8D0
 !% $!%!3!3DMM!B'%	 .7$ !!$''1  	,wwqz[(+++		,s#   2C 
D$D DDDc                    [        U5      S-  n[        R                  " SU-  U5      n[        R                  R                  U R                  5      (       a%  U H  nU R                  R                  U5        M      g[        R                  " SU R                  5       U R                  5       U R                  U R                  5      S9  U H  n[        R                  " U5        M     g)a|  
Processes ancillary data with level SOL_SOCKET and type SCM_RIGHTS,
indicating that the ancillary data payload holds file descriptors.

Calls L{IFileDescriptorReceiver.fileDescriptorReceived} once for each
received file descriptor or logs a message if the protocol does not
implement L{IFileDescriptorReceiver}.

@param cmsgData: Ancillary data payload.
@type cmsgData: L{bytes}
   r!   z%(protocolName)s (on %(hostAddress)r) does not provide IFileDescriptorReceiver; closing file descriptor received (from %(peerAddress)r).)rT   rU   rV   rW   N)r:   r"   unpackr   IFileDescriptorReceiver
providedByr   fileDescriptorReceivedr   r]   r^   r_   r`   osclose)r6   rd   fdCountfdsr'   s        r)   r\   3_SendmsgMixin._ancillaryLevelSOLSOCKETTypeSCMRIGHTS   s     h-1$mmC'M84--88GG44R8  GGB !LLN LLN!//>	  r+   r3   )__name__
__module____qualname____firstlineno____doc__r/   r	   r
   r   __annotations__r;   r7   r<   rC   rK   re   r\   __static_attributes__ r+   r)   r-   r-   2   sD    $ :>n!56= " 
2,\'(Rr+   r-   c                       \ rS rSrSrSrg)_UnsupportedSendmsgMixin   z
Behaviorless placeholder used when C{twisted.python.sendmsg} is not
available, preventing L{IUNIXTransport} from being supported.
ry   N)rr   rs   rt   ru   rv   rx   ry   r+   r)   r{   r{      s    r+   r{   c                   Z    \ rS rSr\R
                  rS r\S 5       r	S r
S rS rS rSrg	)
Server   c           	      v    [         R                  U 5        [        R                  R                  XX#S 4XEU5        g r2   )r-   r7   r   r~   )r6   sockr   clientserver	sessionnoreactors          r)   r7   Server.__init__   s/    t$

4.&W	
r+   c                    [         R                  " U[         R                  [         R                  5      n[        R
                  " UR                  5       5      nUR                  U5      nUc  UR                  5         gSnU " XFUR                  5       SXs5      nSR                  UR                  R                  R                  UR                  UR                  5       5      Ul        SR                  UR                  R                  R                  UR                  UR                  5       5      Ul        UR#                  U5        U$ )a  
Create a new L{Server} based on an existing connected I{SOCK_STREAM}
socket.

Arguments are the same as to L{Server.__init__}, except where noted.

@param fileDescriptor: An integer file descriptor associated with a
    connected socket.  The socket must be in non-blocking mode.  Any
    additional attributes desired, such as I{FD_CLOEXEC}, must also be
    set already.

@return: A new instance of C{cls} wrapping the socket given by
    C{fileDescriptor}.
Nr   z<{} #{} on {}>z{},{},{})r$   fromfdr   SOCK_STREAMr   UNIXAddressgetsocknamebuildProtocolrn   getpeernamerT   r   	__class__rr   r   repstrlogstrmakeConnection)	clsfileDescriptorfactoryr   sktprotocolAddrprotor   r6   s	            r)   _fromConnectedSocketServer._fromConnectedSocket   s      mmNFNNF<N<NO**3??+<=%%l3=IIK 	3s0$	K&--MM##,,NNOO

 !''MM##,,NNOO

 	T"r+   c                 ^    [         R                  " U R                  R                  5       5      $ r2   r   r   r$   r   r5   s    r)   r^   Server.getHost#  s     ""4;;#:#:#<==r+   c                 T    [         R                  " U R                  =(       d    S 5      $ r2   )r   r   hostnamer5   s    r)   r_   Server.getPeer&  s    ""4==#8D99r+   c                     g)aI  
FIXME:https://github.com/twisted/twisted/issues/12369

L{twisted.internet.unix.Server} inherits from L{twisted.internet.tcp.Server} which has
this method implemented for TCP. For Unix socket, this is just a NOOP to avoid
errors for the code that calls TCP specicific methods thinking that the Unix transport
is a TCP transport.
Fry   r5   s    r)   getTcpNoDelayServer.getTcpNoDelay)       r+   c                     g r2   ry   r6   enableds     r)   setTcpNoDelayServer.setTcpNoDelay4      r+   )r   r   N)rr   rs   rt   ru   r   r~   r/   r7   classmethodr   r^   r_   r   r   rx   ry   r+   r)   r~   r~      s:    
 % %N>:	r+   r~   c                     U SS S;  $ )a  
Determine whether the given unix socket path is in a filesystem namespace.

While most PF_UNIX sockets are entries in the filesystem, Linux 2.2 and
above support PF_UNIX sockets in an "abstract namespace" that does not
correspond to any path. This function returns C{True} if the given socket
path is stored in the filesystem and C{False} if the path is in this
abstract namespace.
NrF   )     ry   )paths    r)   _inFilesystemNamespacer   9  s     8=((r+   c                       \ rS rSrS rSrg)	_UNIXPortiF  c                 ^    [         R                  " U R                  R                  5       5      $ )z>
Returns a UNIXAddress.

This indicates the server's address.
r   r5   s    r)   r^   _UNIXPort.getHostG  s"     ""4;;#:#:#<==r+   ry   N)rr   rs   rt   ru   r^   rx   ry   r+   r)   r   r   F  s    >r+   r   c                       \ rS rSr\R
                  r\R                  r\	r
Sr SS jr\S 5       rS\4S jrS rS rS	 rS
 rSrg)PortiP  Nc                     [         R                  R                  X R                  U5      R                  X#US9  X@l        X`l        S U l        g )Nr   )r   r   r7   
_buildAddrnamemodewantPID_preexistingSocket)r6   fileNamer   backlogr   r   r   s          r)   r7   Port.__init__W  sE     	//(+00'G 	 	
 	"&r+   c                     [         R                  " X R                  U R                  5      nU " UR	                  5       X1S9nXEl        U$ )a  
Create a new L{Port} based on an existing listening I{SOCK_STREAM}
socket.

Arguments are the same as to L{Port.__init__}, except where noted.

@param fd: An integer file descriptor associated with a listening
    socket.  The socket must be in non-blocking mode.  Any additional
    attributes desired, such as I{FD_CLOEXEC}, must also be set already.

@return: A new instance of C{cls} wrapping the socket given by C{fd}.
r   )r$   r   addressFamily
socketTyper   r   )r   r   r'   r   portr6   s         r)   _fromListeningDescriptorPort._fromListeningDescriptora  s>     }}R!2!2CNNC4##%w@"&r+   returnc                     [         R                  " U R                  R                  5      n[	        U S5      (       a&  SR                  U[        SU R                  5      5      $ SU S3$ )Nr$   z<{} on {!r}> < (not listening)>)r   qualr   r   hasattrrT   r   r   )r6   factoryNames     r)   __repr__Port.__repr__t  s]    ll4<<#9#9:4""!((+B		: 
 {m#455r+   c                 .    [         R                  " U5      $ r2   r   r   )r6   r   s     r)   r   Port._buildAddr~      ""4((r+   c                 \   [         R                  R                  5         [        R                  " U R                  U R                  5      < S[        SU R                  5      < 35        U R                  (       a  [        R                  " U R                  S-   5      U l        U R                  R                  5       (       d"  [        R                  " SU R                  S5      eU R                  R                   (       dd   ["        R$                  " [&        R"                  " U R                  5      R(                  5      (       a   [&        R*                  " U R                  5        U R                  R/                  5          U R0                  b  U R0                  nSU l        O+U R3                  5       nUR5                  U R                  5        [7        U R                  5      (       a+  [&        R8                  " U R                  U R:                  5        UR=                  U R>                  5        SU l         Xl!        U RB                  RD                  U l"        SU l#        U RI                  5         g! [,         a     GNf = f! [J         a'  n[        R                  " SU R                  U5      eSnAff = f)z
Create and bind my socket, and begin listening on it.

This is called on unserialization, and must be called after creating a
server to begin listening on the specified port.
 starting on r      .lockNzCannot acquire lockTd   )&r   _reservedFDreserver   r]   r`   r   r   r   r   r   FilesystemLocklockFilelockr   CannotListenErrorcleanstatS_ISSOCKrm   st_moderemoveBaseExceptiondoStartr   createInternetSocketbindr   chmodr   listenr   	connectedr$   rB   numberAcceptsstartReadingrH   r6   r   les      r)   startListeningPort.startListening  s    	! ""4<<0+B		:	
 <<$33DII4HIDM==%%''--dDII?TUU}}**	  ==);)C)CDDIIdii0 		 &&2--*.'//1# &dii00DII.JJt||$!DNK++,,DK!$D/ )   	?))$		2>>	?s,   ?A#I) =AI: )
I76I7:
J+"J&&J+c                 ^    [         R                  " S[        SU R                  5      -  5        g)z 
Log message for closing socket
z(UNIX Port %s Closed)r   N)r   r]   r   r   r5   s    r)   _logConnectionLostMsgPort._logConnectionLostMsg  s*     	#+II	
r+   c                    [        U R                  5      (       a   [        R                  " U R                  5        U R                  b  U R                  R                  5         [        R                  R                  X5        g r2   )	r   r   rm   unlinkr   unlockr   r   connectionLostr6   reasons     r)   r   Port.connectionLost  sM    !$)),,IIdii ==$MM  "-r+   )r   r   rB   r   r   r   r$   r   )r.     Nr   )rr   rs   rt   ru   r$   r   r   r   r   r~   	transportr   r7   r   r   strr   r   r   r   r   rx   ry   r+   r)   r   r   P  sa    NNM##JIH PQ'  $6# 6)4 l
.r+   r   c                       \ rS rSrSr\R                  r\R                  r	\
R                  rS
S jrS rS rS rS rS	rg)Clienti  zA client for Unix sockets.Nc                    [         R                  U 5        [        R                  " U5      R                  nX l        U=U l        U l        U(       aF  [        R                  " US-   5      (       d(  U R                  S S [        R                  " U5      U5        U R                  U R                  U R                  5       S U5        g )Nr   )r-   r7   r   r   r   	connectorrealAddressaddrr   isLocked_finishInitr   BadFileError	doConnectr   )r6   filenamer   r   checkPIDs        r)   r7   Client.__init__  s    t$&&x055"'//49H--h.ABBT4););H)EwO)B)B)DdGTr+   c                 B    [         R                  " U R                  5      $ r2   )r   r   r  r5   s    r)   r_   Client.getPeer  s    ""499--r+   c                 .    [         R                  " S 5      $ r2   r   r5   s    r)   r^   Client.getHost  r   r+   c                     g)aI  
FIXME:https://github.com/twisted/twisted/issues/12369

L{twisted.internet.unix.Client} inherits from L{twisted.internet.tcp.Client} which has
this method implemented for TCP. For Unix socket, this is just a NOOP to avoid
errors for the code that calls TCP specicific methods thinking that the Unix transport
is a TCP transport.
Fry   r5   s    r)   r   Client.getTcpNoDelay  r   r+   c                     g r2   ry   r   s     r)   r   Client.setTcpNoDelay  r   r+   )r  r   r  )Nr   )rr   rs   rt   ru   rv   r$   r   r   r   r   r   
BaseClientr/   r7   r_   r^   r   r   rx   ry   r+   r)   r   r     s=    $NNM##JU.)	r+   r   c                   &    \ rS rSrS rS rS rSrg)	Connectori  c                 \    [         R                  R                  XX45        Xl        XPl        g r2   )r   BaseConnectorr7   r   r  )r6   r   r   timeoutr   r  s         r)   r7   Connector.__init__  s"    ##D7D r+   c                 X    [        U R                  X R                  U R                  5      $ r2   )r   r   r   r  r5   s    r)   _makeTransportConnector._makeTransport  s    dllD,,FFr+   c                 B    [         R                  " U R                   5      $ r2   r   r5   s    r)   getDestinationConnector.getDestination  s    ""4<<00r+   )r   r  N)rr   rs   rt   ru   r7   r  r  rx   ry   r+   r)   r  r    s    !
G1r+   r  c                   d    \ rS rSrSr\R                  rSS jrS\	4S jr
S rS rSS	 jrS
 rSrg)DatagramPorti  z,
Datagram UNIX port, listening for packets.
Nc                 N    [         R                  R                  XX#US9  X@l        g)z%Initialize with address to listen on.)maxPacketSizer   N)r   r   r7   r   )r6   r  r   r"  r   r   s         r)   r7   DatagramPort.__init__
  s'    G 	 	
 	r+   r   c                     [         R                  " U R                  R                  5      n[	        U S5      (       a  SU SU R
                  < S3$ SU S3$ )Nr$   r   z on >r   )r   r   r   r   r   r   )r6   rW   s     r)   r   DatagramPort.__repr__  sU    ||MM##
 4""|nDQ77|n$566r+   c                 f   [         R                  " U R                  R                   S[	        U R
                  5       35         U R                  5       nU R
                  (       a  UR                  U R
                  5        U R
                  (       aE  [        U R
                  5      (       a+  [        R                  " U R
                  U R                  5        SU l        Xl        U R                   R"                  U l        g ! [         a'  n[        R                  " S U R
                  U5      eS nAff = f)Nr   rF   )r   r]   r   r   reprr   r   r   rH   r   r   r   rm   r   r   r   r$   rB   r   s      r)   _bindSocketDatagramPort._bindSocket  s    4==**+=dii8IJK	?++-Cyy# 99/		::HHTYY		*kk((  	?))$		2>>	?s   <C? ?
D0	"D++D0c                     U R                   R                  X5      $ ! [         ad  nUR                  S   nU[        :X  a  U R                  X5      s SnA$ U[        :X  a  [        R                  " S5      eU[        :X  a   SnAge SnAff = f)zWrite a datagram.r   Nmessage too long)
r$   sendtorH   rI   r   writer   r   MessageLengthErrorr   )r6   datagramr   rO   nos        r)   r.  DatagramPort.write)  sw    	;;%%h88 	BU{zz(44x../ABBv 	s&    
B)BB*BBBc                    [         R                  " S[        U R                  5      -  5        [        R
                  R                  X5        [        U S5      (       a  U R                  R                  5         SU l
        U R                  R                  5         U ?U ?[        U S5      (       a  U R                  R                  S5        U ?gg)zCleans up my socket.z(Port %s Closed)r   r   dN)r   r]   r(  r   r   BasePortr   r   r   doStopr   r$   rn   rB   r4  callbackr   s     r)   r   DatagramPort.connectionLost;  s    "T$))_45$$T24$$ MM  "KK4FFOOD! r+   c                 h    [         R                  " U R                  R                  5      S-   U l        g )Nz (UDP))r   r   r   r   r   r5   s    r)   	setLogStrDatagramPort.setLogStrK  s!    ll4==#:#:;hFr+   )r   rB   r   r   r$   )    r   Nr2   )rr   rs   rt   ru   rv   r$   r   r   r7   r   r   r)  r.  r   r:  rx   ry   r+   r)   r   r     s8     NNM7# 7)$ Gr+   r   c                   H    \ rS rSrSr    SS jrS rS rS rS r	S	 r
S
rg)ConnectedDatagramPortiO  z#
A connected datagram UNIX socket.
Nc                     [        U[        R                  5      (       d   e[        R	                  XX#XF5        Xl        g r2   )
isinstancer   ConnectedDatagramProtocolr   r7   
remoteaddr)r6   r  r   r"  r   bindAddressr   s          r)   r7   ConnectedDatagramPort.__init__W  s4     %!C!CDDDDdtUr+   c                      U R                  5         U R                  R                  U R                  5        U R	                  5         g ! [
         a'    U R                  [        R                  " 5       5         g f = fr2   )	r)  r$   connectrB  _connectToProtocolr   connectionFailedr   Failurer5   s    r)   r   $ConnectedDatagramPort.startListeningd  sY    	5KK0##% 	5!!'//"34	5s   AA .A98A9c                 ^    U R                  5         U R                  R                  U5        U ?g)z
Called when a connection fails. Stop listening on the socket.

@type reason: L{Failure}
@param reason: Why the connection failed.
N)stopListeningr   rH  r   s     r)   rH  &ConnectedDatagramPort.connectionFailedl  s'     	&&v.Mr+   c                    SnXR                   :  ac   U R                  R                  U R                  5      u  p#U[	        U5      -  nU R
                  R                  U5        XR                   :  a  Mb  gg! [         aX  nUR                  S   nU[        [        [        4;   a   SnAgU[        :X  a  U R
                  R                  5          SnANoe SnAf[         a    [        R                   " 5          Nf = f)z-
Called when my socket is ready for reading.
r   N)maxThroughputr$   recvfromr"  r:   r   datagramReceivedrH   rI   r   r   r   r   connectionRefusedr   r   deferr)r6   readrM   r  rO   r1  s         r)   re   ConnectedDatagramPort.doReadw  s     '''![[11$2D2DE
D	!..t4	 '''
  WWQZ&%55%MM3355  

s*   AA6 6
C8 $C)$CC"C87C8c                 n    U R                   R                  U5      $ ! [         a  nUR                  S   nU[        :X  a  U R                  U5      s SnA$ U[        :X  a  [        R                  " S5      eU[        :X  a  U R                  R                  5          SnAgU[        :X  a   SnAge SnAff = f)z
Write a datagram.
r   Nr,  )r$   sendrH   rI   r   r.  r   r   r/  r   r   rR  r   )r6   rM   rO   r1  s       r)   r.  ConnectedDatagramPort.write  s    	;;##D)) 	BU{zz$''x../ABB|#//11v 	s-    
B4)B/B4AB/
B/.B//B4c                 B    [         R                  " U R                  5      $ r2   )r   r   rB  r5   s    r)   r_   ConnectedDatagramPort.getPeer  s    ""4??33r+   )rB  )r<  r   NN)rr   rs   rt   ru   rv   r7   r   rH  re   r.  r_   rx   ry   r+   r)   r>  r>  O  s3     5	*,4r+   r>  )>rv   rm   r$   r   r"   errnor   r   r   r   r   r   typingr	   r
   zope.interfacer   r   r   twisted.internetr   r   r   r   r   r   r   r   twisted.internet.abstractr   twisted.pythonr   r   r   r   twisted.python.compatr   twisted.python.filepathr   twisted.python.utilr   r   _sendmsgImportErrorr   r*   r-   r{   IUNIXTransportr~   r   r   r   r  r   r  r  IUNIXDatagramTransportr   IUNIXDatagramConnectedTransportr5  r>  ry   r+   r)   <module>ri     s  
 
    M M ! G G W W W 4 : : / ? .2 Gvy!!
C
DD=o od  !M,M Z&&'D]CJJ D (DN
)> >z.9chh z.z Z&&'$]CNN $ ($N
1"" 
1 Z../IG9chh IG 0IGX ..2?2NQ4L Q4Q4e  Gs   .F F&%F&