In Publish & Subscribe with Autobahn Python, how can I subscribe the WampServer as subscriber?

#1

Hi,

I want to implement an application over WAMP were the client and server sends message to each other.

How can I subscribe WampServer as subscriber?

Thanks,

Akhil

0 Likes

#2

Hi,

I want to implement an application over WAMP were the client and server
sends message to each other.
How can I subscribe WampServer as subscriber?

With PubSub, there are 3 roles: publisher, subscriber and broker. A Autobahn client does not act as a broker. Hence there is no such thing as "subscribing the server to the client".

You probably are looking for "reverse RPC": calling a procedure exposed on the client from the server. That makes sense and is possible:

https://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/rpc/symmetric

/Tobias

ยทยทยท

Am 23.09.2013 18:02, schrieb Akhil Pillai:

Thanks,
Akhil

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Likes