@@ -0,0 +1,1086 @@
+package replicant.messages;%0A%0Aimport java.util.Objects;%0Aimport javax.annotation.Nonnull;%0Aimport jsinterop.annotations.JsOverlay;%0Aimport jsinterop.annotations.JsPackage;%0Aimport jsinterop.annotations.JsType;%0A%0A/**%0A * The message that represents a set of changes to subscriptions and entities that should be applied atomically.%0A */%0A@SuppressWarnings( %22NullableProblems%22 )%0A@SuppressFBWarnings( %22EI_EXPOSE_REP%22 )%0A@JsType( isNative = true, namespace = JsPackage.GLOBAL, name = %22Object%22 )%0Apublic class SessionCreatedMessage%0A  extends ServerToClientMessage%0A%7B%0A  @JsOverlay%0A  public static final String TYPE = %22session-created%22;%0A  @Nonnull%0A  private String sessionId;%0A%0A  @GwtIncompatible%0A  @Nonnull%0A  public static SessionCreatedMessage create( @Nonnull final String sessionId )%0A  %7B%0A    final SessionCreatedMessage changeSet = new SessionCreatedMessage();%0A    changeSet.type = TYPE;%0A    changeSet.requestId = null;%0A    changeSet.sessionId = Objects.requireNonNull( sessionId );%0A    return changeSet;%0A  %7D%0A%0A  @JsOverlay%0A  @Nonnull%0A  public final String getSessionId()%0A  %7B%0A    return sessionId;%0A  %7D%0A%7D%0A

Add message received to initiate session