Interface IPlaylistSubscriberStream

All Superinterfaces:
IClientStream, IPlaylist, IStream, ISubscriberStream
All Known Implementing Classes:
PlaylistSubscriberStream

public interface IPlaylistSubscriberStream extends ISubscriberStream, IPlaylist
IPlaylistSubscriberStream has methods of both ISubscriberStream and IPlaylist but adds nothing new
  • Method Details

    • getStatistics

      Return statistics about this stream.
      Returns:
      statistics
    • onChange

      void onChange(StreamState state, Object... changed)
      Handles a change occurring on the stream.
      Specified by:
      onChange in interface ISubscriberStream
      Parameters:
      state - stream state that we are changing to or notifying of
      changed - changed items
    • replace

      boolean replace(IPlayItem oldItem, IPlayItem newItem)
      Replaces an item in the list with another item.
      Parameters:
      oldItem - old play item
      newItem - new play item
      Returns:
      true if successful and false otherwise