[CalendarServer-changes] [9090] CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/ scheduling/imip.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 13 11:46:57 PDT 2012
Revision: 9090
http://trac.macosforge.org/projects/calendarserver/changeset/9090
Author: glyph at apple.com
Date: 2012-04-13 11:46:57 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
connectTCP -> GAIEndpoint in twistedcaldav.scheduling.imip
Modified Paths:
--------------
CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/scheduling/imip.py
Modified: CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/scheduling/imip.py
===================================================================
--- CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/scheduling/imip.py 2012-04-13 18:46:53 UTC (rev 9089)
+++ CalendarServer/branches/users/glyph/ipv6-client/twistedcaldav/scheduling/imip.py 2012-04-13 18:46:57 UTC (rev 9090)
@@ -1,3 +1,4 @@
+# -*- test-case-name: twistedcaldav.scheduling.test.test_imip -*-
##
# Copyright (c) 2005-2012 Apple Inc. All rights reserved.
#
@@ -29,6 +30,8 @@
from twistedcaldav.util import AuthorizedHTTPGetter
from twistedcaldav.scheduling.delivery import DeliveryService
from twistedcaldav.scheduling.itip import iTIPRequestStatus
+from twext.internet.gaiendpoint import GAIEndpoint
+from twext.internet.adaptendpoint import connect
"""
Handles the sending of scheduling messages via iMIP (mail gateway).
@@ -145,6 +148,7 @@
factory.noisy = False
factory.protocol = AuthorizedHTTPGetter
- reactor.connectTCP(mailGatewayServer, mailGatewayPort, factory)
+ connect(GAIEndpoint(reactor, mailGatewayServer, mailGatewayPort),
+ factory)
return factory.deferred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120413/0246afe6/attachment.html>
More information about the calendarserver-changes
mailing list