Commit c7e74b4d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

client: add port

parent f62cc0d0
Pipeline #16250 failed with stage
in 18 minutes and 54 seconds
......@@ -30,14 +30,14 @@ class Client(_Parent):
'builder': RbprmBuilder,
}
def __init__(self, url=None, context="corbaserver"):
def __init__(self, url=None, context="corbaserver", port=13331):
"""
Initialize CORBA and create default clients.
:param url: URL in the IOR, corbaloc, corbalocs, and corbanames formats.
For a remote corba server, use
url = "corbaloc:iiop:<host>:<port>/NameService"
"""
self._initOrb(url)
self._initOrb(url, port)
self._makeClients("rbprm", self.defaultClients, context)
# self.builder is created by self._makeClients
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment