skip to navigation
skip to content

DAD 1.0.2

Deliver Asynchronous Data

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)
 
File Type Py Version Uploaded on Size
DAD-1.0.2.tar.gz (md5) Source 2014-05-03 2KB