Package com.wowza.wms.mediacache.model
Interface IMediaCacheSourceNotify
- 
 public interface IMediaCacheSourceNotifyMediaCache Interface for source creation and destroy notifications This interface can be configured via the CacheSourceListenerClassList configuration item in the main MediaCache configuration section. <CacheSourceListenerClassList>com.wowza.mediacache.example.sourcelistener</CacheSourceListenerClassList> It is triggered when a source is added/removed from the running MediaCache configuration. This is done either as MediaCache starts up or dynamically via the API. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMediaCacheSourceCreate(IMediaCacheSource mediaCacheSource)When a source is added this is called with the current source as a parameter.voidonMediaCacheSourceDestroy(IMediaCacheSource mediaCacheSource)When a source is removed successfully this is called with the source that has been removed as a parameter.
 
- 
- 
- 
Method Detail- 
onMediaCacheSourceCreatevoid onMediaCacheSourceCreate(IMediaCacheSource mediaCacheSource) When a source is added this is called with the current source as a parameter.- Parameters:
- mediaCacheSource-
 
 - 
onMediaCacheSourceDestroyvoid onMediaCacheSourceDestroy(IMediaCacheSource mediaCacheSource) When a source is removed successfully this is called with the source that has been removed as a parameter.- Parameters:
- mediaCacheSource-
 
 
- 
 
-