def register_Ns3InetSocketAddress_methods(root_module, cls):
    cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')])
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')])
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')])
    cls.add_constructor([param('uint16_t', 'port')])
    cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')])
    cls.add_constructor([param('char const *', 'ipv4')])
    cls.add_method('ConvertFrom', 'ns3::InetSocketAddress', [param('ns3::Address const &', 'address')], is_static=True)
    cls.add_method('GetIpv4', 'ns3::Ipv4Address', [], is_const=True)
    cls.add_method('GetPort', 'uint16_t', [], is_const=True)
    cls.add_method('GetTos', 'uint8_t', [], is_const=True)
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address const &', 'address')], is_static=True)
    cls.add_method('SetIpv4', 'void', [param('ns3::Ipv4Address', 'address')])
    cls.add_method('SetPort', 'void', [param('uint16_t', 'port')])
    cls.add_method('SetTos', 'void', [param('uint8_t', 'tos')])
    return
def register_Ns3InetSocketAddress_methods(root_module, cls):
    cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')])
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')])
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')])
    cls.add_constructor([param('uint16_t', 'port')])
    cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')])
    cls.add_constructor([param('char const *', 'ipv4')])
    cls.add_method('ConvertFrom', 'ns3::InetSocketAddress', [param('ns3::Address const &', 'address')], is_static=True)
    cls.add_method('GetIpv4', 'ns3::Ipv4Address', [], is_const=True)
    cls.add_method('GetPort', 'uint16_t', [], is_const=True)
    cls.add_method('GetTos', 'uint8_t', [], is_const=True)
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address const &', 'address')], is_static=True)
    cls.add_method('SetIpv4', 'void', [param('ns3::Ipv4Address', 'address')])
    cls.add_method('SetPort', 'void', [param('uint16_t', 'port')])
    cls.add_method('SetTos', 'void', [param('uint8_t', 'tos')])
    return