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

io.antmedia.cluster.IClusterNotifier Maven / Gradle / Ivy

There is a newer version: 2.3.3.1
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy