play.mvc
Class Results.Chunks.Out<A>

java.lang.Object
  extended by play.mvc.Results.Chunks.Out<A>
Enclosing class:
Results.Chunks<A>

public static class Results.Chunks.Out<A>
extends java.lang.Object

A Chunked stream.


Constructor Summary
Results.Chunks.Out(play.api.libs.iteratee.PushEnumerator<A> enumerator, java.util.List<F.Callback0> disconnectedCallbacks)
           
 
Method Summary
 void close()
          Closes the stream.
 void onDisconnected(F.Callback0 callback)
          Called when the socket is disconnected.
 void write(A chunk)
          Write a Chunk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Results.Chunks.Out

public Results.Chunks.Out(play.api.libs.iteratee.PushEnumerator<A> enumerator,
                          java.util.List<F.Callback0> disconnectedCallbacks)
Method Detail

write

public void write(A chunk)
Write a Chunk.


onDisconnected

public void onDisconnected(F.Callback0 callback)
Called when the socket is disconnected.


close

public void close()
Closes the stream.