Package com.wowza.wms.response
Class ResponseFunctions
Object
com.wowza.wms.response.ResponseFunctions
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ResponseFunction wmsResponseFunction) Add a function.voidclear()booleanAre there any pending items in the list.intoutput(OutputStream out, int sendChunkSize) Write all functions (in order added to list) to OutputStream.
-
Constructor Details
-
ResponseFunctions
public ResponseFunctions()
-
-
Method Details
-
add
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
Write all functions (in order added to list) to OutputStream.- Parameters:
out- OutputStream- Returns:
- total number of bytes written
-