});
}
private void init() {
session.getLog().debug("Initializing...");
sendMessage(new CheckVersionsMessage(MINIMUM_PROTOCOL_VERSION,
MAXIMUM_PROTOCOL_VERSION, HOSTED_HTML_VERSION), new MessageCallback() {
@Override
public void onMessage(Message message) {
if (message instanceof FatalErrorMessage) {
session.fatalError(((FatalErrorMessage) message).getError());