Skip to main content

Event and Message layer application

Project description

Vakhshour
=========

Event Layer and Message layer application.


Requirements:
pyOpenSSL
Twisted
pyCrypto

Usage:
======

1. Running master server:

Running the master server is very easy:

$ vakhshourd

'vakhshourd' use the '/etc/vakhshour/vakhshour.json' as its configuration file.
Take a look at configurations comments.
Take a look at the --help parameter of 'vakhshourd'.

2. Sending Events:

Here is a sample code:


from vakhshour.base import Node, Event

a = Node(host="x.x.x.", port="8888")

event = Event(name="logout", sender="someservice",
user="lxsameer")
a.send(event)


NOTE: user parameter for Event class is a logout event parameter.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Vakhshour, version 0.91.47
Filename, size File type Python version Upload date Hashes
Filename, size Vakhshour-0.91.47.tar.gz (222.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page