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
1d00071c
Commit
1d00071c
authored
Dec 21, 2015
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not increase notfication counter for keep alive publishrequests
parent
b34dc27c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
examples/example-server.py
examples/example-server.py
+2
-2
opcua/internal_subscription.py
opcua/internal_subscription.py
+3
-2
No files found.
examples/example-server.py
View file @
1d00071c
...
...
@@ -59,8 +59,8 @@ if __name__ == "__main__":
# logger.setLevel(logging.DEBUG)
#logger = logging.getLogger("opcua.uaprocessor")
# logger.setLevel(logging.DEBUG)
#
logger = logging.getLogger("opcua.subscription_service")
#
logger.setLevel(logging.DEBUG)
logger
=
logging
.
getLogger
(
"opcua.subscription_service"
)
logger
.
setLevel
(
logging
.
DEBUG
)
# now setup our server
server
=
Server
()
...
...
opcua/internal_subscription.py
View file @
1d00071c
...
...
@@ -256,10 +256,11 @@ class InternalSubscription(object):
self
.
_keep_alive_count
=
0
self
.
_startup
=
False
result
.
NotificationMessage
.
SequenceNumber
=
self
.
_notification_seq
self
.
_notification_seq
+=
1
if
len
(
result
.
NotificationMessage
.
NotificationData
)
!=
0
:
self
.
_notification_seq
+=
1
self
.
_not_acknowledged_results
[
result
.
NotificationMessage
.
SequenceNumber
]
=
result
result
.
MoreNotifications
=
False
result
.
AvailableSequenceNumbers
=
list
(
self
.
_not_acknowledged_results
.
keys
())
self
.
_not_acknowledged_results
[
result
.
NotificationMessage
.
SequenceNumber
]
=
result
return
result
def
_pop_triggered_datachanges
(
self
,
result
):
...
...
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