Commit Graph

15 Commits

Author SHA1 Message Date
Ian Gulliver
1a66b86c13 Add test for duplicate message suppression. Fix totally broken subscribe by key code. 2014-05-17 18:04:57 +03:00
Ian Gulliver
0247b78c6b Suppress duplicate messages from a client (e.g. when network failure causes retries for RPCs that actually went through). 2014-05-16 23:07:38 +03:00
Ian Gulliver
64e16e7ec1 Add a way to fetch our current profile ID. 2014-05-16 19:03:33 +03:00
Ian Gulliver
1e755c9693 Move onReady callback to after channel response from server, so we have a client_id before we start sending other RPCs. 2014-05-14 23:28:56 +03:00
Ian Gulliver
1b38d81c9c Remove SetValue/GetValue. Add debug console support for keeping track of streaming key values. 2014-05-11 19:34:42 +03:00
Ian Gulliver
0575b8918d Add a key field to messages and allow lookup of most recent message by key. 2014-05-11 15:43:45 +03:00
Ian Gulliver
bff49f3401 Checkpoint: working subscribe/unsubscribe and message transit, through the debug page 2014-05-10 15:47:33 +02:00
Ian Gulliver
6a6fdc1c41 Make the structure that we pass over the channel or pseudo-channel called an "event".
Make the string that we pass through pubsub called a "message".
2014-05-09 15:00:48 -07:00
Ian Gulliver
e6885042f5 Add pubsub server API, without client API or UI yet. 2014-05-06 22:46:07 -07:00
Ian Gulliver
bb5c0752b1 Move message handling in RPC responses out of individual commands and to a general property of the response. 2014-05-06 13:47:57 -07:00
Ian Gulliver
cf05c0f620 Switch to a multi-request/response API to make batching possible. 2014-05-06 13:38:40 -07:00
Ian Gulliver
0369266d60 Remove the getUser API call and replace it with channel messages. Close channels when log in/out events occur for security. 2014-05-01 14:55:50 -07:00
Ian Gulliver
64f989e3ca Support public flag for StateEntry 2014-05-01 11:33:29 -07:00
Ian Gulliver
7069d16aaa Fix handling of initial messages on channel creation by returning them in the
RPC response instead of over the channel.
2014-03-25 14:19:13 -07:00
Ian Gulliver
c99c171dbc Initial snapshot. 2014-03-25 13:43:11 -07:00