io.bdeploy.jersey.ws.change.ObjectChangeBroadcaster Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
package io.bdeploy.jersey.ws.change;
import java.util.List;
import io.bdeploy.jersey.ws.change.msg.ObjectChangeDto;
/**
* A destination sink which broadcasts object changes.
*/
public interface ObjectChangeBroadcaster {
/**
* @param change the changes to broadcast to any interested (remote) party.
*/
public void send(ObjectChangeDto change);
/**
* @param changes the changes to broadcast, sending only the best matching scoped change to each websocket.
*/
public void sendBestMatching(List changes);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy