Questions tagged [autobahnws]

Autobahn WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.

Autobahn WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.

55 questions
1
vote
1 answer

Ratchet WAMP onpublish always publish to all clients include the publish caller or not?

I have just made a chat hello world for the Ratchet WAMP + autobahn version 1. full source code here if you want to see The JavaScript client send chat message: function click_send_btn() { var json_data = { …
user1482015
0
votes
0 answers

"Boost " library issue-" undefined reference error" while compiling using cmake and make

I am working on WAMP and crossbar. I am trying to compile and build the executable using cmake and make commands. The cmake is doing fine i.e no errors during cmake but during make command I am facing the errors shown below. I come across linking…
siddharthav
  • 41
  • 1
  • 8
0
votes
2 answers

Using the Decorator approach with AutobahnWS, how to publish messages independent from subscription callbacks and it's Session-Reference?

When working with Autobahn and WAMP before I have been using the Subclassing-Approach but stumbled over decorator / functions approach which I really prefer over subclassing. However. I have a function that is being called from an external hardware…
Simon Kemper
  • 635
  • 1
  • 7
  • 16
0
votes
1 answer

Handling races between querying full state via RPC and published deltas

I am about to design a system based on autobahn. I am frequently encountering the following pattern: Clients can request a full state via an RPC topic - for example, all votes in the vote example Updates to this state are published by the server -…
Yourstruly
  • 600
  • 5
  • 12
0
votes
0 answers

How to intercept the Websocket call in Crossbar+Autobahn

I want to know if it is possible to implement some interceptor to check user authentication in websocket RPC. My use case is User registers himself with some token using URI 'com.safe.reg' Token is validated and cached against the sessionid For…
Amit Teli
  • 875
  • 11
  • 25
0
votes
1 answer

Autobahn component with .NET router (WampSharp)

At the moment I'm playing with the WAMP proto, and I'm curious if something like this is possible, because I can't get it to work: 1.Having WAMP router written in c# (WampSharp) : const string location = "ws://127.0.0.1:9999/wsdemo"; try { …
civa
  • 459
  • 3
  • 12
0
votes
1 answer

Autobahn javascript connection - passing dynamic server

I am using below javascript code to connect to autobahn server. All these times I was using static ip but now the ip is going to be dynamic. How can I pass dynamic server ip and get autobahn connected dynamically? var connection = new…
praneel
  • 241
  • 2
  • 14
0
votes
1 answer

Returning an array from a remote procedure

I register an RCP procedure using the Thruway client and call it using the Autohahn client. The issue I faced is that when the callee returns an empty array from the procedure return array(); the caller receives the null value. When the callee…
Kolyunya
  • 5,973
  • 7
  • 46
  • 81
0
votes
0 answers

Disconnecting session with Autobahn JS

I have problems to disconnect the session to the websocket in my angularJS app. I know that Autobahn JS provides a diconnect() function, but it still not works. Here is the connection part: connect : function(){ var deferred = $q.defer(); …
randomGuy
  • 63
  • 1
  • 10
0
votes
2 answers

How to set component role in Autobahn

I'm using crossbar 0.11.1 and I want to have an autobahn component use a specific role. When I add a "role" attribute to my component, like below: "components": [ { "type": "class", "classname":…
jaime
  • 2,234
  • 1
  • 19
  • 22
0
votes
1 answer

Redis operation blocks autobahn web socket server requests

I am using redis to save/update/delete data for my web socket server (Implemented using autobahn - twisted based web socket implementation) according to the messages I get from my server clients. For Redis operations I am using redis-py package.…
Bill Goldberg
  • 1,699
  • 5
  • 26
  • 50
0
votes
1 answer

Python UnitTest - Websocket Server

today I was working to create some unittests for my application: a websocket client.. In the real world, ws server is an embeeded pc in the home network. Now, for my unittest, I'd like to create a fake ws server and use it to test the client. can…
nos_86
  • 13
  • 1
  • 2
  • 11
0
votes
1 answer

How to implement multinode architecture in crossbar.io?

I'm developing a decentralized(server and client) application architecture and use websockets as communication method between all servers and all clients.Multiple master servers federation.I am using crossbar on the server end and autobahn on the…
vkefallinos
  • 717
  • 1
  • 9
  • 24
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
0 answers

What causes NullPointerException WebSocketConnection.sendTextMessage

I've integrated AutoBahn to take care of my WebSocket needs in my android application. This works well most of the time. Occasionally I crash out with this log: java.lang.NullPointerException at…
DJ-DOO
  • 4,545
  • 15
  • 58
  • 98