|
42.
|
|
|
Profiles
|
|
|
type: Content of: <html><body><h2>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:102
|
|
43.
|
|
|
The Banana protocol is extendable. Therefore, it supports the concept of profiles. Profiles allow developers to extend the banana protocol, adding new element types, while still keeping backwards compatability with implementations that don't support the extensions. The profile used in each session is determined at the handshake stage (see below.)
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:105
|
|
44.
|
|
|
A profile is specified by a unique string. This specification defines two profiles - <code>"none"</code> and <code>"pb"</code>. The <code>"none"</code> profile is the standard profile that should be supported by all Banana implementations. Additional profiles may be added in the future.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:112
|
|
45.
|
|
|
The <code>"none"</code> Profile
|
|
|
type: Content of: <html><body><h3>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:118
|
|
46.
|
|
|
The <code>"none"</code> profile is identical to the delimiter types listed above. It is highly recommended that all Banana clients and servers support the <code>"none"</code> profile.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:121
|
|
47.
|
|
|
The <code>"pb"</code> Profile
|
|
|
type: Content of: <html><body><h3>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:125
|
|
48.
|
|
|
The <code>"pb"</code> profile is intended for use with the Perspective Broker protocol, that runs on top of Banana. Basically, it converts commonly used PB strings into shorter versions, thus minimizing bandwidth usage. It starts with a single byte, which tells us to which string element to convert it, and ends with the delimiter byte, <code>0x87</code>, which should not be prefixed by a length.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:128
|
|
49.
|
|
|
0x01
|
|
|
type: Content of: <html><body><dl><dt>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:136
|
|
50.
|
|
|
'None'
|
|
|
type: Content of: <html><body><dl><dd>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:136
|
|
51.
|
|
|
0x02
|
|
|
type: Content of: <html><body><dl><dt>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
specifications/banana.xhtml:137
|