[CalendarServer-changes] [11470] CalendarServer/branches/users/glyph/hang-fix/twext/internet/ sendfdport.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Jul 5 17:42:58 PDT 2013


Revision: 11470
          http://trac.calendarserver.org//changeset/11470
Author:   glyph at apple.com
Date:     2013-07-05 17:42:58 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
Even more documentation.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py

Modified: CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py
===================================================================
--- CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py	2013-07-06 00:42:57 UTC (rev 11469)
+++ CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py	2013-07-06 00:42:58 UTC (rev 11470)
@@ -279,13 +279,16 @@
 
 class InheritedPort(FileDescriptor, object):
     """
-    Create this in the 'slave' process to handle incoming connections
-    dispatched via C{sendmsg}.
+    An L{InheritedPort} is an L{IReadDescriptor}/L{IWriteDescriptor} created in
+    the I{worker process} to handle incoming connections dispatched via
+    C{sendmsg}.
     """
 
     def __init__(self, fd, transportFactory, protocolFactory):
         """
-        @param fd: a file descriptor
+        @param fd: the file descriptor representing a UNIX socket connected to
+            a I{master process}.  We will call C{recvmsg} on this socket to
+            receive file descriptors.
         @type fd: C{int}
 
         @param transportFactory: a 4-argument function that takes the socket
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130705/2d50393f/attachment.html>


More information about the calendarserver-changes mailing list