Skip to content

Commit 00a1404

Browse files
brubbeloroulet
authored andcommitted
removed unused code: get_client_to_discovery
1 parent fa52b1d commit 00a1404

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

opcua/server/server.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,6 @@ def _renew_registration(self):
199199
client.register_server(self)
200200
self.iserver.loop.call_later(self._discovery_period, self._renew_registration)
201201

202-
def get_client_to_discovery(self, url="opc.tcp://localhost:4840"):
203-
"""
204-
Create a client to discovery server and return it
205-
"""
206-
client = Client(url)
207-
client.connect()
208-
return client
209-
210202
def allow_remote_admin(self, allow):
211203
"""
212204
Enable or disable the builtin Admin user from network clients

0 commit comments

Comments
 (0)