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

io.bdeploy.jersey.ws.change.ObjectChangeBroadcaster Maven / Gradle / Ivy

Go to download

Public API including dependencies, ready to be used for integrations and plugins.

There is a newer version: 7.3.6
Show newest version
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