Interface IBroadcastStreamService


public interface IBroadcastStreamService
  • Field Details

  • Method Details

    • hasBroadcastStream

      boolean hasBroadcastStream(IScope scope, String name)
      Does the scope have a broadcast stream registered with a given name
      Parameters:
      scope - the scope to check for the stream
      name - name of the broadcast
      Returns:
      true is a stream exists, otherwise false
    • getBroadcastStream

      IBroadcastStream getBroadcastStream(IScope scope, String name)
      Get a broadcast stream by name
      Parameters:
      scope - the scope to return the stream from
      name - the name of the broadcast
      Returns:
      broadcast stream object
    • getBroadcastStreamNames

      Set<String> getBroadcastStreamNames(IScope scope)
      Get a set containing the names of all the broadcasts
      Parameters:
      scope - the scope to search for streams
      Returns:
      set containing all broadcast names