Java implementation of the Blink protocol