Package com.wowza.wms.response
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 Summary
Constructors Constructor Description ResponseFunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ResponseFunction wmsResponseFunction)
Add a function.void
clear()
boolean
isPending()
Are there any pending items in the list.int
output(java.io.OutputStream out, int sendChunkSize)
Write all functions (in order added to list) to OutputStream.
-
-
-
Method Detail
-
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(java.io.OutputStream out, int sendChunkSize)
Write all functions (in order added to list) to OutputStream.- Parameters:
out
- OutputStream- Returns:
- total number of bytes written
-
-