/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/doc/seamlessrdp-channel.txt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/branches/seamlessrdp-branch/rdesktop/doc/seamlessrdp-channel.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1085 by astrand, Fri Mar 10 06:36:44 2006 UTC revision 1126 by ossman_, Wed Mar 15 11:43:57 2006 UTC
# Line 24  systems (e.g. VNC) as well. Line 24  systems (e.g. VNC) as well.
24  One line may not exceed 1024 bytes, including newline.  One line may not exceed 1024 bytes, including newline.
25    
26  The protocol has no concept of hidden or unmapped windows. A window does not  The protocol has no concept of hidden or unmapped windows. A window does not
27  exist unless it is visible. Note that a minimised window is an exception to  exist unless it is visible. Note that a minimized window is an exception to
28  this rule.  this rule.
29    
30  Data types  Data types
# Line 39  All integers fit inside 32 bits. Line 39  All integers fit inside 32 bits.
39  Server to Client Operations  Server to Client Operations
40  ===========================  ===========================
41    
42  CREATE1  CREATE
43  -------  ------
44    
45  Allocate structures for a new window.  Allocate structures for a new window.
46    
47  Syntax:  Syntax:
48          CREATE1,<ID>,<FLAGS>          CREATE,<ID>,<PARENT>,<FLAGS>
49    
50    Indicates that a window has appeared on the server. If PARENT is non-zero then
51    the new window is a child of that window (it's transient for it).
52    
53  Note that very little information is included in this message. Things like  Note that very little information is included in this message. Things like
54  title and state will come in subsequent messages. This message should only  title and state will come in subsequent messages. This message should only
55  be used to allocate data structures for the new window.  be used to allocate data structures for the new window.
56    
57  DESTROY1  DESTROY
58  --------  -------
59    
60  Remove a window.  Remove a window.
61    
62  Syntax:  Syntax:
63          DESTROY1,<ID>,<FLAGS>          DESTROY,<ID>,<FLAGS>
64    
65  Remove the window and deallocate all associated structures.  Remove the window and deallocate all associated structures.
66    
67  POSITION1  POSITION
68  ---------  --------
69    
70  Move a window.  Move and/or resize a window.
71    
72  Syntax:  Syntax:
73          POSITION1,<ID>,<X>,<Y>,<WIDTH>,<HEIGHT>,<FLAGS>          POSITION,<ID>,<X>,<Y>,<WIDTH>,<HEIGHT>,<FLAGS>
74    
75  Move and/or resize a window. If the window isn't visible yet (because a  If the window isn't visible yet (because a
76  SETSTATE1 hasn't been set or because it's minimised), you must store the  STATE hasn't been set or because it's minimized), you must store the position
77  position and size. A new POSITION1 is not guaranteed to be sent when the  and size. A new POSITION is not guaranteed to be sent when the window changes
78  window changes state.  state.
79    
80    TITLE
81    -----
82    
83  ZCHANGE1  Sets a window title.
84  --------  
85    Syntax:
86            TITLE,<ID>,<TITLE>,<FLAGS>
87    
88    The text is guaranteed to be stripped of control characters (< 0x20).
89    
90    Note that this has the same requirement as POSITION, that the title needs to
91    be stored for newly created windows until a STATE is sent. It is however not
92    guaranteed that a TITLE will be sent before the first STATE.
93    
94    
95    ZCHANGE
96    -------
97    
98  The window moved in z order.  The window moved in z order.
99    
100  Syntax:  Syntax:
101          ZCHANGE1,<ID>,<BEHIND>,<FLAGS>          ZCHANGE,<ID>,<BEHIND>,<FLAGS>
102    
103  The window with the id ID is behind the window with the id BEHIND. If  The window with the id ID is behind the window with the id BEHIND. If
104  BEHIND is 0, then this window should be brought to the front.  BEHIND is 0, then this window should be brought to the front.
105    
106  SETSTATE1  STATE
107  ---------  -----
108    
109  Changes the window's state and/or title.  Changes the window's state and/or title.
110    
111  Syntax:  Syntax:
112          SETSTATE1,<ID>,<TITLE>,<STATE>,<FLAGS>          STATE,<ID>,<STATE>,<FLAGS>
113    
114  State can have one of three values:  State can have one of three values:
115   0 : "Normal" window.   0 : "Normal" window.
116   1 : Minimised.   1 : Minimized.
117   2 : Maximised.   2 : Maximized.
118    
119    The initial STATE for a window will always be preceeded by one CREATE and one
120    POSITION. Optionally, a TITLE may also be sent before the first STATE.
121    
122  DEBUG1  DEBUG
123  ------  -----
124    
125  Debug output from the server component.  Debug output from the server component.
126    
127  Syntax:  Syntax:
128          DEBUG1,<STRING>          DEBUG,<STRING>
129    
130  Used for debugging.  Used for debugging.
131    
# Line 144  Request a synchronisation of window info Line 163  Request a synchronisation of window info
163  Syntax:  Syntax:
164          SYNC,<FLAGS>          SYNC,<FLAGS>
165    
166  For each window, the server will send CREATE1, POSITION1 and SETSTATE1 just as  For each window, the server will send CREATE, POSITION and STATE, in that
167  if the window was created.  order, just as if the window was created. Note that a TITLE may also,
168    optionally, be sent before the STATE.
169    
170    POSITION
171    --------
172    
173    Identical to the command sent from server to client.
174    
175    TITLE
176    -----
177    
178    Identical to the command sent from server to client.
179    
180    ZCHANGE
181    -------
182    
183    Identical to the command sent from server to client.
184    
185    STATE
186    -----
187    
188    Identical to the command sent from server to client.
189    
190    FOCUS
191    -----
192    
193    Sets which window has input focus.
194    
195    Syntax:
196            FOCUS,<ID>,<FLAGS>
197    
198    Changes which window that will recieve the keyboard events. Note that this
199    might cause the window to change z order.

Legend:
Removed from v.1085  
changed lines
  Added in v.1126

  ViewVC Help
Powered by ViewVC 1.1.26