This is documentation for the updated KJAS protocol. KJAS Grammar =============================================================================== ## Commands From KAppletWidget(C++) to KJAS(Java Process) -> -> -> | | | | | | | | | | | | | -> <1 byte equal to 1 when cast as int> -> <1 byte equal to 2 when cast as int> -> <1 byte equal to 3 when cast as int> -> <1 byte equal to 4 when cast as int> -> <1 byte equal to 5 when cast as int> -> <1 byte equal to 6 when cast as int> -> <1 byte equal to 7 when cast as int> ## Commands from KJAS(Java Process) to KAppletWidget(C++) -> <1 byte equal to 8 when cast as int> -> <1 byte equal to 9 when cast as int> -> <1 byte equal to 10 when cast as int> -> <1 byte equal to 11 when cast as int> -> <1 byte equal to 12 when cast as int> -> <1 byte equal to 13 when cast as int> -> <1 byte equal to 14 when cast as int> ## basic data types -> -> string -> string -> string -> -> StringNum of ParamPair -> -> string -> -> -> string (list of jarfile names) -> string representation of integer -> string representation of integer -> string <ParamName> -> string <ParamValue> -> string <Host> -> string (must be a valid URL) <URL> -> string (must be a valid URL) <targetFrame> -> string <WindowTitle> -> string <END> -> <SEP> <SEP> -> Null character- 1 byte = 0 <StringNum> -> padded string representation of integer, 8 characters long <ClassLoaderID> -> string <DATA> -> byte array