Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
bbf752c6
Commit
bbf752c6
authored
May 27, 2018
by
Jonas Neubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more detailed logging in UaSocketClient.disconnect_client()
parent
252d4941
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
opcua/client/ua_client.py
opcua/client/ua_client.py
+3
-1
No files found.
opcua/client/ua_client.py
View file @
bbf752c6
...
...
@@ -139,12 +139,14 @@ class UASocketClient(object):
self
.
start
()
def
disconnect_socket
(
self
):
self
.
logger
.
info
(
"
stop request
"
)
self
.
logger
.
info
(
"
Request to close socket received
"
)
self
.
_do_stop
=
True
self
.
_socket
.
socket
.
shutdown
(
socket
.
SHUT_RDWR
)
self
.
_socket
.
socket
.
close
()
self
.
logger
.
info
(
"Socket closed, waiting for receiver thread to terminate..."
)
if
self
.
_thread
and
self
.
_thread
.
is_alive
():
self
.
_thread
.
join
()
self
.
logger
.
info
(
"Done closing socket: Receiving thread terminated, socket disconnected"
)
def
send_hello
(
self
,
url
,
max_messagesize
=
0
,
max_chunkcount
=
0
):
hello
=
ua
.
Hello
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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