io.antmedia.cluster.IClusterNotifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ant-media-server-common Show documentation
Show all versions of ant-media-server-common Show documentation
Classes common for multiple Ant Media projects
package io.antmedia.cluster;
import java.util.List;
import io.antmedia.AppSettingsModel;
public interface IClusterNotifier {
public static final String BEAN_NAME = "tomcat.cluster";
public enum StreamEvent {
STREAM_UNPUBLISHED,
STOP,
}
public void sendStreamNotification(String streamName, String contextName, StreamEvent event) ;
public void sendStreamNotification(String streamId, String scopeName, List streamInfo,
StreamEvent streamPublished);
public void stopActiveSenders(String contextName, String streamId);
public void addMembers(List clusterNodes);
public boolean isNodeInTheCluster(ClusterNode node);
public void sendAppSettings(String appName, AppSettingsModel settingsModel);
}