From b8b803f51c8ff622491d2a160663e4912f7dba03 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Fri, 16 Oct 2009 09:38:13 -0230 Subject: Added support for EndpointInfo and ConnectionInfo to python. Set endpoint in Connection getInfo implementations. Removed unused _stateTime from ConnectionI. Remove ["cpp:virtual"] from SSLEndpointInfo slice definition. --- py/python/Ice.py | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'py/python/Ice.py') diff --git a/py/python/Ice.py b/py/python/Ice.py index 39ca9d6ef50..872b37dbf55 100644 --- a/py/python/Ice.py +++ b/py/python/Ice.py @@ -250,18 +250,29 @@ import Ice_ObjectFactory_ice import Ice_Properties_ice import Ice_Router_ice import Ice_ServantLocator_ice +import Ice_Connection_ice # # Replace EndpointInfo with our implementation. # -#del EndpointInfo -#Endpoint = IcePy.EndpointInfo -#del TcpEndpointInfo -#TcpEndpointInfo = IcePy.TcpEndpointInfo -#del UdpEndpointInfo -#UdpEndpointInfo = IcePy.UdpEndpointInfo -#del OpaqueEndpointInfo -#OpaqueEndpointInfo = IcePy.OpaqueEndpointInfo +del EndpointInfo +EndpointInfo = IcePy.EndpointInfo +del TcpEndpointInfo +TcpEndpointInfo = IcePy.TcpEndpointInfo +del UdpEndpointInfo +UdpEndpointInfo = IcePy.UdpEndpointInfo +del OpaqueEndpointInfo +OpaqueEndpointInfo = IcePy.OpaqueEndpointInfo + +# +# Replace ConnectionInfo with our implementation. +# +del ConnectionInfo +ConnectionInfo = IcePy.ConnectionInfo +del TcpConnectionInfo +TcpConnectionInfo = IcePy.TcpConnectionInfo +del UdpConnectionInfo +UdpConnectionInfo = IcePy.UdpConnectionInfo class ThreadNotification(object): '''Base class for thread notification callbacks. A subclass must -- cgit v1.2.3