Tornwamp

Latest version: v2.1.0

Safety actively analyzes 621892 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1.0

--------------------------

* `TopicManager.create_topic(name)` had been deprecated; please use `create_topic_if_not_exists(name)` instead.
* the new `publish(message)` method was added to `TopicManager`: it finds/creates a topic associated with the message
via its `topic_name` property and then publishes it there.

2.0.0

--------------------------

This new version has a few breaking changes needed when adding support for
redis pub/sub.

* Processors do not have direct_messages attribute anymore. Instead,
broadcast_message attribute should be used.
* pubsub.customize has the following changes

- add_subscriber
- get_subscribe_direct_messages
- get_publish_direct_messages
+ get_subscribe_broadcast_message

In order to generate a message from SubscriberProcessor
get_subscribe_broadcast_message should be overridden. The default behavior is
not to generate any messages.
* topic.customize has deliver_event_messages method which should be used to
cutomize which websocket connections should receive the message (this takes
the role which was performed by direct_messages attribute and the second
element of the tuple returned by rpc calls)
* The second element on the tuple returned by rpc calls need to be either None
or a BroadcastMessage
* Added support for redis pubsub, allowing multiple tornwamp instances to
communicate.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.