org.realityforge.replicant.server.EntityMessageEndpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of replicant Show documentation
Show all versions of replicant Show documentation
Replicant: Client-side state representation infrastructure
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