Project

General

Profile

Htsp » History » Version 4

Andreas Smas, 2009-02-28 16:20

1 1 Andreas Smas
2
3
4
5
6
----
7
8
= Client to Server methods =
9
10
=== getChallenge ===
11
12
=== authenticate ===
13
14
=== setMode ===
15
16
=== getEvent ===
17
18
=== subscribe ===
19
20 4 Andreas Smas
Subscribe to the given channel.
21
22
Attributes
23
{{{
24
channelId        int  ID for channel. 
25
subscriptionId   int  Subscription ID. Selected by client. This value is not interpreted by the server in any form. 
26
                      The value is passed back in all messages related to the subscription.
27
}}}
28
29
30 1 Andreas Smas
=== unsubscribe ===
31 2 Andreas Smas
32
33
----
34
35
= Server to Client methods =
36
37
=== channelAdd ===
38
39 3 Andreas Smas
Only sent if session is in async mode.
40
41 2 Andreas Smas
=== channelUpdate ===
42
43 3 Andreas Smas
Only sent if session is in async mode.
44
45 2 Andreas Smas
=== channelDelete ===
46
47 3 Andreas Smas
Only sent if session is in async mode.
48
49 2 Andreas Smas
=== tagAdd ===
50
51 3 Andreas Smas
Only sent if session is in async mode.
52
53 2 Andreas Smas
=== tagUpdate ===
54
55 3 Andreas Smas
Only sent if session is in async mode.
56
57 2 Andreas Smas
=== tagDelete ===
58 3 Andreas Smas
59
Only sent if session is in async mode.
60 2 Andreas Smas
61
=== subscriptionStart ===
62
63
=== subscriptionStop ===
64
65
=== subscriptionStatus ===
66
67
=== queueStatus ===