Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Make/asyncio just to easily see diff DO NOT MERGE #667

Open
wants to merge 114 commits into
base: master
Choose a base branch
from

Conversation

oroulet
Copy link
Member

@oroulet oroulet commented Jul 29, 2018

No description provided.

oroulet and others added 13 commits July 30, 2018 13:54
…es which is more reliable and has more information
# Conflicts:
#	examples/client-minimal-auth.py
#	examples/client-minimal.py
#	opcua/client/client.py
#	opcua/client/ua_client.py
#	opcua/common/copy_node.py
#	opcua/common/events.py
#	opcua/common/instantiate.py
#	opcua/common/node.py
#	opcua/common/ua_utils.py
#	opcua/server/address_space.py
#	opcua/server/event_generator.py
#	opcua/server/internal_server.py
#	opcua/server/server.py
#	opcua/server/standard_address_space/standard_address_space_part3.py
#	opcua/server/standard_address_space/standard_address_space_part4.py
#	opcua/server/standard_address_space/standard_address_space_part5.py
#	opcua/server/standard_address_space/standard_address_space_part8.py
#	opcua/server/standard_address_space/standard_address_space_part9.py
#	opcua/server/uaprocessor.py
#	opcua/ua/ua_binary.py
#	opcua/ua/uaprotocol_auto.py
#	opcua/ua/uatypes.py
#	schemas/AttributeIds.csv
#	schemas/NodeIds.csv
#	schemas/Opc.Ua.Adi.NodeSet2.xml
#	schemas/Opc.Ua.Adi.Types.bsd
#	schemas/Opc.Ua.Adi.Types.xsd
#	schemas/Opc.Ua.Endpoints.wsdl
#	schemas/Opc.Ua.NodeSet2.Part10.xml
#	schemas/Opc.Ua.NodeSet2.Part11.xml
#	schemas/Opc.Ua.NodeSet2.Part13.xml
#	schemas/Opc.Ua.NodeSet2.Part3.xml
#	schemas/Opc.Ua.NodeSet2.Part4.xml
#	schemas/Opc.Ua.NodeSet2.Part5.xml
#	schemas/Opc.Ua.NodeSet2.Part9.xml
#	schemas/Opc.Ua.NodeSet2.xml
#	schemas/Opc.Ua.Services.wsdl
#	schemas/Opc.Ua.Types.bsd
#	schemas/Opc.Ua.Types.xsd
#	schemas/StatusCode.csv
#	schemas/UANodeSet.xsd
#	schemas/generate_address_space.py
#	schemas/generate_model.py
#	tests/test_client.py
#	tests/test_server.py
#	tests/tests_common.py
@oroulet
Copy link
Member Author

oroulet commented Aug 1, 2018

Impressive work you have done.. @cbergmiller

instanciated for every connection
defined as internal class since it needs access
to the internal server object
FIXME: find another solution
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to delete that comment. It is outdated

return res
return self.subscriptions[params.SubscriptionId].monitored_item_srv.delete_monitored_items(
params.MonitoredItemIds)
#with self._lock:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe remove these commented #with self._lock

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing! I will remove them once i had the time to check if they need to be replaced with a asynio.Lock

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact I reviewed quite a lot but could not find errors ;-) well done!

@oroulet
Copy link
Member Author

oroulet commented Aug 2, 2018

@cbergmiller I made a new repository https://github.com/FreeOpcUa/opcua-asyncio. You can push any further work directly to master until we have stabilized it. (Note it is up to date, all your work is in master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants