Pls consider in order to use this Forum you need a valid PyGoWave Account and you have to be logged in with it

How to communicate with PyGoWave over STOMP

How to communicate with PyGoWave over STOMP

Postby zentur » Wed Dec 09, 2009 3:22 pm

Connect your STOMP client to pygowave.net:61613
  • Username: pygowave_client
  • Password: pygowave_client
  • Subscribe to a login queue
  • Queue name: <random number>.login.waveop
  • Additional headers - needed on every queue subscription:
  • routing_key: <same as queue name>
  • exchange: wavelet.direct
  • exclusive: true
Send the authentication message
  • Topic: <random number of login queue>.login.clientop
  • Body: {"type": "LOGIN", "property": {"username": "<your username>", "password": "<your password>"}}
  • NOTE: This is a JSON-encoded String!
  • Additional headers - needed on every sent frame:
  • routing_key: <same as topic>
  • exchange: wavelet.topic
  • The server will answer:
  • {"type": "LOGIN", "property": {"rx_key": "<your rx_key>", "tx_key": "<your tx_key>", "viewer_id": "<your viewer_id>"}}
  • NOTE: The viewer_id is your wave address, it looks like username@pygowave.net
  • Keep your rx_key and tx_key, they are valid throughout the session
  • Unsubscribe to the login queue
Subscribe to the manager queue
  • Queue name: <rx_key>.manager.waveop
  • (Don't forget the additional headers)
  • To receive a list of waves, send a message to the manager queue
  • Topic: <tx_key>.manager.clientop
  • Body: {"type": "WAVE_LIST"}
  • (Don't forget the additional headers)
  • Your answer:
  • {"type": "WAVE_LIST", "property": {"<wave_id>": <serialized wavelets>}}
  • BIG NOTE: You must send a PING message at least every 20 seconds, or your connection is treated as timed out
  • Topic: <tx_key>.manager.clientop
  • Body: {"type": "PING", "property": "<anything or empty, I send a timestamp>"}
zentur
Site Admin
 
Posts: 20
Joined: Tue Nov 03, 2009 5:34 pm

Re: How to communicate with PyGoWave over STOMP

Postby darkflame » Wed Dec 23, 2009 11:05 am

Just like to say we connected and made our first pygowave wave ver our QT client today :)
Seems to work great.
Mostly thanks to your libs :)
darkflame
 
Posts: 11
Joined: Fri Nov 06, 2009 4:44 pm

Re: How to communicate with PyGoWave over STOMP

Postby davide » Sun Jan 10, 2010 6:21 pm

Not sure whether this is the right place to ask, but i would like to know what's the state of the Annotations in the qt api. I see methods to add annotations to blips, but can't find a way to retrive all annotations from a blip... is that not implemented yet?
davide
 
Posts: 1
Joined: Thu Dec 17, 2009 12:18 am

uNIrYEoEedNWJEsZuCn

Postby kinquo » Mon Jun 28, 2010 10:05 pm

5vjcNt <a href="http://ejjlmvcuzpwf.com/">ejjlmvcuzpwf</a>, nctkuymrizhn, [link=http://gndvybrrecoh.com/]gndvybrrecoh[/link], http://hdgogfaxzbkk.com/
yZyim8 <a href="http://wtjoninerdyo.com/">wtjoninerdyo</a>, addqmkvrllxl, [link=http://drbvlaazmisj.com/]drbvlaazmisj[/link], http://gkjnpahdpize.com/
kinquo
 
Posts: 32
Joined: Mon Jun 28, 2010 11:25 am

MlQuSgbwKV

Postby kinquo » Tue Jun 29, 2010 5:44 am

6psPvG <a href="http://idyxlpbpmzxj.com/">idyxlpbpmzxj</a>, aosugnadogfm, [link=http://ylezbpojhiit.com/]ylezbpojhiit[/link], http://unzxtouahrrs.com/
yZyim8 <a href="http://wtjoninerdyo.com/">wtjoninerdyo</a>, addqmkvrllxl, [link=http://drbvlaazmisj.com/]drbvlaazmisj[/link], http://gkjnpahdpize.com/
kinquo
 
Posts: 32
Joined: Mon Jun 28, 2010 11:25 am

blxreLRDhKEvAsPEaE

Postby kinquo » Thu Jul 01, 2010 6:05 am

yZyim8 <a href="http://wtjoninerdyo.com/">wtjoninerdyo</a>, addqmkvrllxl, [link=http://drbvlaazmisj.com/]drbvlaazmisj[/link], http://gkjnpahdpize.com/
kinquo
 
Posts: 32
Joined: Mon Jun 28, 2010 11:25 am

WhlCsYrVgM

Postby autodia » Fri Jul 09, 2010 7:01 pm

autodia
 
Posts: 33
Joined: Thu Jul 08, 2010 1:04 am

BBouOHmIeF

Postby autodia » Sat Jul 10, 2010 3:52 am

autodia
 
Posts: 33
Joined: Thu Jul 08, 2010 1:04 am

SosNKhbSyymdEQefo

Postby autodia » Sat Jul 10, 2010 8:59 am

autodia
 
Posts: 33
Joined: Thu Jul 08, 2010 1:04 am

TdmYUjhmENlefrVBjQ

Postby autodia » Sun Jul 11, 2010 11:16 am

autodia
 
Posts: 33
Joined: Thu Jul 08, 2010 1:04 am

Next

Return to Client Server Protocol

Who is online

Users browsing this forum: No registered users and 1 guest