@NotThreadSafe public class TChannelBufferOutputTransport extends Object implements TTransport, io.netty.util.ReferenceCounted
| Constructor and Description |
|---|
TChannelBufferOutputTransport(io.netty.buffer.ByteBuf buffer) |
TChannelBufferOutputTransport(io.netty.buffer.ByteBufAllocator byteBufAllocator) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
getBuffer() |
void |
read(byte[] buf,
int off,
int len) |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
io.netty.util.ReferenceCounted |
retain() |
io.netty.util.ReferenceCounted |
retain(int increment) |
io.netty.util.ReferenceCounted |
touch() |
io.netty.util.ReferenceCounted |
touch(Object hint) |
void |
write(byte[] buf,
int off,
int len) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic TChannelBufferOutputTransport(io.netty.buffer.ByteBufAllocator byteBufAllocator)
public TChannelBufferOutputTransport(io.netty.buffer.ByteBuf buffer)
public io.netty.buffer.ByteBuf getBuffer()
public void write(byte[] buf,
int off,
int len)
write in interface TTransportpublic void read(byte[] buf,
int off,
int len)
read in interface TTransportpublic int refCnt()
refCnt in interface io.netty.util.ReferenceCountedpublic io.netty.util.ReferenceCounted retain()
retain in interface io.netty.util.ReferenceCountedpublic io.netty.util.ReferenceCounted retain(int increment)
retain in interface io.netty.util.ReferenceCountedpublic io.netty.util.ReferenceCounted touch()
touch in interface io.netty.util.ReferenceCountedpublic io.netty.util.ReferenceCounted touch(Object hint)
touch in interface io.netty.util.ReferenceCounted@CheckReturnValue(when=UNKNOWN) public boolean release()
release in interface io.netty.util.ReferenceCountedpublic boolean release(int decrement)
release in interface io.netty.util.ReferenceCountedCopyright © 2012–2024. All rights reserved.