Class TransformingFlusher

java.lang.Object
org.eclipse.jetty.websocket.core.internal.TransformingFlusher
Direct Known Subclasses:
FragmentingFlusher

public abstract class TransformingFlusher extends Object
This is used to iteratively transform or process a frame into one or more other frames. When a frame is ready to be processed onFrame(Frame, Callback, boolean) is called. Subsequent calls to transform(Callback) are made on each callback success until one of these calls returns true to indicate they are done processing the frame and are ready to receive a new one. The Callback passed in to both these method must be succeeded in order to continue processing.