Class ResponseFunctions

Object
com.wowza.wms.response.ResponseFunctions

public class ResponseFunctions extends Object

ResponseFunctions: collection of ResponseFunction objects. This interface is used to asynchronously collect up a set of client responses that will be sent to the client at the next opportunity.

  • Constructor Details

    • ResponseFunctions

      public ResponseFunctions()
  • Method Details

    • add

      public void add(ResponseFunction wmsResponseFunction)
      Add a function.
      Parameters:
      wmsResponseFunction - function
    • clear

      public void clear()
    • isPending

      public boolean isPending()
      Are there any pending items in the list.
      Returns:
      true if items in list
    • output

      public int output(OutputStream out, int sendChunkSize)
      Write all functions (in order added to list) to OutputStream.
      Parameters:
      out - OutputStream
      Returns:
      total number of bytes written