Questions tagged [wamp-protocol]

Web Application Messaging Protocol (WAMP)

WAMP is an open standard WebSocket subprotocol that provides two application messaging patterns in one unified protocol:

  • Remote Procedure Calls
  • Publish & Subscribe
124 questions
0
votes
0 answers

How to run corssbar without using "crossbar start" command

I'm trying to understand crossbar and I want to make a kind of demonstration for my blog which is made with Django (python). My demo works fine but I don't get it: how to make crossbar solution working without needing to use the "crossbar start"…
Neilujd
  • 61
  • 1
  • 9
0
votes
1 answer

Possible to transmit files using Crossbar.io and WAMP?

Is it possible to use WAMP / Crossbar to send small simple files, such as .txt? At the moment, I have this snippet of tutorial code in Python: def sendSketch(self, datastring): if datastring == "1": payload = b'1' How can I get Python…
sscirrus
  • 55,407
  • 41
  • 135
  • 228
0
votes
1 answer

It's possible to list subscribers in autobahn.ws?

Currently I'm developing consoles in my webapp displaying user's running *nix application log (game servers) and I just want to make sure that one user can't access other user console by guessing topic name. I'm using random generated string of 16…
SystemZ
  • 56
  • 1
  • 4
0
votes
1 answer

Where is the crossbar subscription / state store?

When subscriptions are created and maintained by crossbar where are they stored? I did a quick look through the source code and think they are all stored in local process memory. Is that right? What is the horizontal scale out model if stuff is…
Paul Fryer
  • 9,268
  • 14
  • 61
  • 93
0
votes
1 answer

Crossbar.io - Restrict user to subscribe to only two topics

I had seen in the Crossbar.io documentation, that we can set role to publish only to specific topic. But how can I set a role to publish exactly matching two topics rather than pattern based matching.
Kamalakannan J
  • 2,818
  • 3
  • 23
  • 51
0
votes
1 answer

Purpose of Controller in WAMP (Web Apps Messaging Protocol) routing

Im new to WAMP (Web Apps Messaging Protocol) routing. So please forgive me if my question sounds too dumb. It is a beginners question. I don't quite understand what exactly controller is. I know what controller is from a normal Model-View software…
Eddie
  • 1,043
  • 8
  • 14
0
votes
1 answer

Pipe program stdout to a crossbar.io router

How can I send the stdout of a compilation process to a crossbar.io-Router? I am working on a travis-like continuous-integration-system for compiling Github-hosted LaTeX documents/projects. The server receives a POST from Github and starts the…
Finwood
  • 3,829
  • 1
  • 19
  • 36
0
votes
1 answer

many callees with the same set of functions in crossbar.io

My project consists in a crossbar.io router with a python component, to wich many python callees will register the same set of functions. Lets think of a network of IoT light dimmers, each one will register the same dimm_light(value) function and…
DenJohX
  • 306
  • 1
  • 13
0
votes
1 answer

Autobahn | Python: Subscription no longer triggering handler when SubscriptionOptions are provided

I am currently building a cryptocurrency trading platform in Python, and using Autobahn for receiving market events. I am experiencing an issue with using subscription options. When I create a subscription with just the (handler, topic) arguments,…
cassm
  • 171
  • 6
0
votes
1 answer

Crossbar.io - WAMP router not working

I have followed this instruction http://crossbar.io/docs/Getting-started-with-NodeJS/ and I can access to frontend via localhost:8080, but seem like hello.js in backend side had not been executed. This is the log after I run crossbar…
0
votes
2 answers

websocket + wamp: server php and client python, the tcp connection drops

I'm working on a python3.3 client: I need to connect to a ratchet-wamp php server and subscribe to a topic. I've installed asyncio and autobahn. I follow this example…
0
votes
1 answer

program stuck in session.join()

I am using a crossbar.io router with the below configuration, the C++ program seems to be stuck in session.join() call. { "controller": { }, "workers": [ { "type": "router", "realms": [ …
Ravikumar Tulugu
  • 1,702
  • 2
  • 18
  • 40
0
votes
1 answer

Call procedure registered in javascript from python server Autobahn, Wamp

just started to use autobahn. I already did some examples and now I am trying to make my own server and client based on the tutorials. I will use the autobahn for python for the server and the javascript library on the client side. At the moment I…
user1532132
  • 827
  • 2
  • 10
  • 19
0
votes
1 answer

how to make Autobahn WAMP Python server & Javascript client work together?

I have a Python Autobahn WAMP server (v. 0.8.8, app code at http://pastebin.com/DfQvaJYF) working fine with a Python client. Using latest Twisted 13.2. for both server and client. However, the browser javascript client (autobahn js from CDN, app…
Petri
  • 4,796
  • 2
  • 22
  • 31
0
votes
0 answers

Autobahn python twisted wamp client examples give TypeError for _parseClientTCP()

I wanted to run the Autobahn Python twisted examples listed here https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic. However, running the client.py always give me TypeError: $ python client.py -c…
1 2 3
8
9