bindings/python/ns3_module_udp_echo.py
changeset 4241 c35796bc0b4b
parent 4218 debf1a8a96d3
child 4449 c11b6d768ab3
--- a/bindings/python/ns3_module_udp_echo.py	Wed Feb 25 11:00:42 2009 +0100
+++ b/bindings/python/ns3_module_udp_echo.py	Wed Feb 25 11:00:50 2009 +0100
@@ -54,6 +54,8 @@
     return
 
 def register_Ns3UdpEchoClient_methods(root_module, cls):
+    ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor]
+    cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')])
     ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function]
     cls.add_method('GetTypeId', 
                    'ns3::TypeId', 
@@ -80,10 +82,11 @@
                    'void', 
                    [], 
                    visibility='private', is_virtual=True)
-    cls.add_copy_constructor()
     return
 
 def register_Ns3UdpEchoServer_methods(root_module, cls):
+    ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor]
+    cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')])
     ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function]
     cls.add_method('GetTypeId', 
                    'ns3::TypeId', 
@@ -106,7 +109,6 @@
                    'void', 
                    [], 
                    visibility='private', is_virtual=True)
-    cls.add_copy_constructor()
     return
 
 def register_functions(root_module):