All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.realityforge.replicant.server.EntityMessageEndpoint Maven / Gradle / Ivy

There is a newer version: 0.5.59
Show newest version
package org.realityforge.replicant.server;

import java.util.Collection;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public interface EntityMessageEndpoint
{
  /**
   * Queue the specified messages to be saved as a change set.
   *
   * @param sessionID the session that initiated the request that resulted in the changes, or null.
   * @param requestID the request that resulted in the changes, or null.
   * @param messages  the messages.
   * @param changeSet the changes that are targeted for the session that initiated request.
   * @return true if any messages were routed to the initiating session.
   */
  boolean saveEntityMessages( @Nullable String sessionID,
                              @Nullable String requestID,
                              @Nonnull Collection messages,
                              @Nullable ChangeSet changeSet );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy