Skip to content

Repository files navigation

IPA Keyboard Router Server

This Server, written in Java, handles actually sending data and confirmations to and from the Client. When it is sent data from the Website Backend (which got the data from the Website), and splits it into the key-byte and the long-code corresponding to the specific Client. The long-code is looked up in a dictionary of clients, and the proper client is sent the byte. If such a request is not sent for an hour, the client is removed from the dictionary, to ensure that there is not a memory leak.

Depending on what this Router Server is sent and from where it will do different things. It will give the Backend the long-code for a given linking-code when requested, or it will pass on the key-byte. Either way, it sends a response (and sometimes additional information) back to the Client (and Backend when that was the origin of the request) indicating the degree of success.

Definitions

Key‑code: the three digit10 (000-164) code representing a single IPA character
Key‑byte: the key-code as a single byte (typically implicitly casted to int)
Long‑code: the 18 digit64 code to indicate which client a key-byte needs to be sent to
Linking‑code: the six digit10 code to get the long-code from Router Server to Website

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages