Used to notify MOM (Message Oriented Middleware), throught STOMP (Simple Text Oriented Messaging Protocol).
Example of usage
from dad.mom import Middleware
from dad.event import SemanticEvent
middleware = Middleware(host="localhost", port=61613)
event = SemanticEvent(
instance="http://dbpedia.org/Nina",
klass="http://dbpedia.org/Dog",
graph="http://dbpedia.org/animal",
action="a")
middleware.notify(event)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DAD-1.0.2.tar.gz
(2.4 kB
view details)
File details
Details for the file DAD-1.0.2.tar.gz.
File metadata
- Download URL: DAD-1.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
841f2bd82b1b33085986bfd5ecd7cb461a137652d00cc550a50d0b759b4e5c83
|
|
| MD5 |
6c3cae0071b7f07cc4ab723dd1a85d6d
|
|
| BLAKE2b-256 |
05e5fcacc99414ffc979f95c2b652f0af049347d065f93bac25777b0308e69cb
|