org.glassfish.grizzly.streams
Class TransformerOutput
java.lang.Object
org.glassfish.grizzly.streams.BufferedOutput
org.glassfish.grizzly.streams.TransformerOutput
- All Implemented Interfaces:
- Output
public class TransformerOutput
- extends BufferedOutput
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transformer
protected final Transformer<Buffer,Buffer> transformer
underlyingOutput
protected final Output underlyingOutput
memoryManager
protected final MemoryManager memoryManager
attributeStorage
protected final AttributeStorage attributeStorage
TransformerOutput
public TransformerOutput(Transformer<Buffer,Buffer> transformer,
Output underlyingOutput,
Connection connection)
TransformerOutput
public TransformerOutput(Transformer<Buffer,Buffer> transformer,
Output underlyingOutput,
MemoryManager memoryManager,
AttributeStorage attributeStorage)
flush0
protected GrizzlyFuture<java.lang.Integer> flush0(Buffer buffer,
CompletionHandler<java.lang.Integer> completionHandler)
throws java.io.IOException
- Specified by:
flush0 in class BufferedOutput
- Throws:
java.io.IOException
newBuffer
protected Buffer newBuffer(int size)
- Specified by:
newBuffer in class BufferedOutput
reallocateBuffer
protected Buffer reallocateBuffer(Buffer oldBuffer,
int size)
- Specified by:
reallocateBuffer in class BufferedOutput
onClosed
protected void onClosed()
throws java.io.IOException
- Specified by:
onClosed in class BufferedOutput
- Throws:
java.io.IOException
Copyright © 2011 Oracle Corpration. All Rights Reserved.