Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
034bfbd7
Commit
034bfbd7
authored
Apr 05, 1999
by
Per Cederqvist
Browse files
(LysKOM Data Types): Explain Text-Mapping.
parent
777a0a29
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Protocol-A.texi
View file @
034bfbd7
...
...
@@ -2,7 +2,7 @@
@c
@c FIXME: Explain how the garb works with nice and keep-commented
@c
@c
$
Id: Protocol
-
A.texi,v
1
.
5
5
1999
/
04
/
05
0
0
:
4
1
:
23
ceder Exp
$
@c
$
Id: Protocol
-
A.texi,v
1
.
5
6
1999
/
04
/
05
2
0
:
1
1
:
41
ceder Exp
$
@c
%**start of header
@setfilename protocol-a.info
@settitle LysKOM Protocol A
...
...
@@ -1955,7 +1955,43 @@ actually transmitted. See also the example in @ref{lookup-name}.
)
@end example
FIXME: more text here.
A @code
{
Text-Mapping
}
is used when the client needs to look up which
global @code
{
Text-No
}
that corresponds to a @code
{
Local-Text-No
}
. The
client uses @code
{
local-to-global
}
to ask for information about a few
texts starting a a certain local text number, and the server returns the
information in a @code
{
Text-Mapping
}
.
@table @code
@item range-begin
The first local text number that the client asked about.
@item range-end
The first local text number that the reply doesn't say anything about.
This @code
{
Text-Mapping
}
tells the client about all existing texts from
@code
{
range-begin
}
to (but not including) @code
{
range-end
}
.
@item later-texts-exists
This is true if there are more texts in the conference after this
block.
@item block
The block can be sent i two formats. The server is free to choose which
format to use as it pleases; clients must be prepared for any of them.
@itemize @bullet
@item
The @dfn
{
sparse
}
format is useful when many local text number no longer
exists. It starts with a @code
{
0
}
that indicates that the sparse format
is used, and is followed by an array of @code
{
Text-Number-Pair
}
. The
array will always be sorted so that @code
{
local-number
}
always
increases.
@item
The @dfn
{
dense
}
format is good when most of the local text numbers
exist. It starts with a @code
{
1
}
that indicates that the dense format
is used, and is followed by a @code
{
Text-List
}
. The @code
{
Text-List
}
contains @code
{
first-local-no
}
and an array of @code
{
Text-No
}
.
The local text number @code
{
first-local-no
}
corresponds to the first
@code
{
Text-No
}
in the array, @code
{
first-local-no
}
+ 1 corresponds to
the second entry in the array, and so on. The array contains a zero to
indicate that a certain local text number doesn't exist.
@end itemize
@end table
@subsection Server Information
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment