Class Index | File Index

Classes


File Index

client.js

This file contains Javascript functions for the client-side interface of the surf gateway The Karoo Project System uses UDP for messaging. A "Cloud Computing" interface must use HTTP, so there is a gateway. The gateway is the surf rock. It receives "messages" from the web client, which are actually pre-packaged UDP messages ready to be sent on their way. Hence the binary format has found its way, at least part way, into the javascript interface. An integer in Javascript is a maximum of 48 bits, and a float is 64 bits. A compromise was met: A 128 bit float will be truncated to 64 bits, and a 64 bit int will be truncated to 48 bits. In the other direction, they are expanded. Please see also The Karoo Project doxygen documentation

cave.js

This file contains Javascript functions for the client-side interface of the cave rock

Although this file is for the cave rock, communication to the cave actually occurs via the surf rock.

The low level interface is implemented in client.js

The Karoo Project System uses UDP for messaging. A "Cloud Computing" interface must use HTTP, so there is a gateway. The gateway is the surf rock. It receives "messages" from the web client, which are actually pre-packaged UDP messages ready to be sent on their way. Hence the binary format has found its way, at least part way, into the javascript interface. An integer in Javascript is a maximum of 48 bits, and a float is 64 bits. A compromise was met: A 128 bit float will be truncated to 64 bits, and a 64 bit int will be truncated to 48 bits. In the other direction, they are expanded.

Please see also The Karoo Project API documentation, and especially, the Karoo project web client interface.


Documentation generated by JsDoc Toolkit 2.3.2 on Sun Nov 29 2009 14:58:50 GMT+0200 (SAST)