Class ChannelBufferByteOutput
java.lang.Object
org.jboss.netty.handler.codec.marshalling.ChannelBufferByteOutput
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,org.jboss.marshalling.ByteOutput
ByteOutput implementation which writes the data to a ChannelBuffer-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelBufferByteOutput(ChannelBuffer buffer) Create a new instance which use the givenChannelBufferChannelBufferByteOutput(ChannelBufferFactory factory, int estimatedLength) CallsChannelBufferByteOutput(ChannelBuffer)with a dynamicChannelBuffer -
Method Summary
-
Field Details
-
buffer
-
-
Constructor Details
-
ChannelBufferByteOutput
Create a new instance which use the givenChannelBuffer -
ChannelBufferByteOutput
CallsChannelBufferByteOutput(ChannelBuffer)with a dynamicChannelBuffer
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-
write
- Specified by:
writein interfaceorg.jboss.marshalling.ByteOutput- Throws:
IOException
-
write
- Specified by:
writein interfaceorg.jboss.marshalling.ByteOutput- Throws:
IOException
-
write
- Specified by:
writein interfaceorg.jboss.marshalling.ByteOutput- Throws:
IOException
-
getBuffer
Return theChannelBufferwhich contains the written content
-