Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-rbprm-corba
Commits
fda5fce8
Unverified
Commit
fda5fce8
authored
Sep 15, 2021
by
Guilhem Saurel
Committed by
GitHub
Sep 15, 2021
Browse files
Merge pull request #85 from nim65s/devel
client: add port
parents
f62cc0d0
c7e74b4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/client.py
View file @
fda5fce8
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment