Unverified Commit fda5fce8 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #85 from nim65s/devel

client: add port
parents f62cc0d0 c7e74b4d
......@@ -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