equal
deleted
inserted
replaced
50 """ |
50 """ |
51 This is essentialy the same as in Pyro/protocol.py |
51 This is essentialy the same as in Pyro/protocol.py |
52 only raw_sock wrapping into sock through sslpsk.wrap_socket was added |
52 only raw_sock wrapping into sock through sslpsk.wrap_socket was added |
53 Pyro unfortunately doesn't allow cleaner customization |
53 Pyro unfortunately doesn't allow cleaner customization |
54 """ |
54 """ |
|
55 |
55 |
56 |
56 def bindToURI(self, URI): |
57 def bindToURI(self, URI): |
57 with self.lock: # only 1 thread at a time can bind the URI |
58 with self.lock: # only 1 thread at a time can bind the URI |
58 try: |
59 try: |
59 self.URI = URI |
60 self.URI = URI |