接口的使用
com.alibaba.dubbo.remoting.buffer.ChannelBuffer
-
-
com.alibaba.dubbo.remoting中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting中的方法 修饰符和类型 方法 说明 Object
Codec2. decode(Channel channel, ChannelBuffer buffer)
void
Codec2. encode(Channel channel, ChannelBuffer buffer, Object message)
-
com.alibaba.dubbo.remoting.buffer中ChannelBuffer的使用
实现ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的类 修饰符和类型 类 说明 class
AbstractChannelBuffer
class
ByteBufferBackedChannelBuffer
class
DynamicChannelBuffer
class
HeapChannelBuffer
声明为ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的字段 修饰符和类型 字段 说明 static ChannelBuffer
ChannelBuffers. EMPTY_BUFFER
返回ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的方法 修饰符和类型 方法 说明 ChannelBuffer
ChannelBufferOutputStream. buffer()
static ChannelBuffer
ChannelBuffers. buffer(int capacity)
ChannelBuffer
AbstractChannelBuffer. copy()
ChannelBuffer
ByteBufferBackedChannelBuffer. copy(int index, int length)
ChannelBuffer
ChannelBuffer. copy()
Returns a copy of this buffer's readable bytes.ChannelBuffer
ChannelBuffer. copy(int index, int length)
Returns a copy of this buffer's sub-region.ChannelBuffer
DynamicChannelBuffer. copy(int index, int length)
ChannelBuffer
HeapChannelBuffer. copy(int index, int length)
static ChannelBuffer
ChannelBuffers. directBuffer(int capacity)
static ChannelBuffer
ChannelBuffers. dynamicBuffer()
static ChannelBuffer
ChannelBuffers. dynamicBuffer(int capacity)
static ChannelBuffer
ChannelBuffers. dynamicBuffer(int capacity, ChannelBufferFactory factory)
ChannelBuffer
ChannelBufferFactory. getBuffer(byte[] array, int offset, int length)
ChannelBuffer
ChannelBufferFactory. getBuffer(int capacity)
ChannelBuffer
ChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)
ChannelBuffer
DirectChannelBufferFactory. getBuffer(byte[] array, int offset, int length)
ChannelBuffer
DirectChannelBufferFactory. getBuffer(int capacity)
ChannelBuffer
DirectChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)
ChannelBuffer
HeapChannelBufferFactory. getBuffer(byte[] array, int offset, int length)
ChannelBuffer
HeapChannelBufferFactory. getBuffer(int capacity)
ChannelBuffer
HeapChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)
ChannelBuffer
AbstractChannelBuffer. readBytes(int length)
ChannelBuffer
ChannelBuffer. readBytes(int length)
Transfers this buffer's data to a newly created buffer starting at the currentreaderIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
).static ChannelBuffer
ChannelBuffers. wrappedBuffer(byte[] array)
static ChannelBuffer
ChannelBuffers. wrappedBuffer(byte[] array, int offset, int length)
static ChannelBuffer
ChannelBuffers. wrappedBuffer(ByteBuffer buffer)
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的方法 修饰符和类型 方法 说明 static int
ChannelBuffers. compare(ChannelBuffer bufferA, ChannelBuffer bufferB)
int
AbstractChannelBuffer. compareTo(ChannelBuffer that)
static boolean
ChannelBuffers. equals(ChannelBuffer bufferA, ChannelBuffer bufferB)
void
AbstractChannelBuffer. getBytes(int index, ChannelBuffer dst)
void
AbstractChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)
void
ByteBufferBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)
void
ChannelBuffer. getBytes(int index, ChannelBuffer dst)
Transfers this buffer's data to the specified destination starting at the specified absoluteindex
until the destination becomes non-writable.void
ChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)
Transfers this buffer's data to the specified destination starting at the specified absoluteindex
.void
ChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)
Transfers this buffer's data to the specified destination starting at the specified absoluteindex
.void
DynamicChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)
void
HeapChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)
void
AbstractChannelBuffer. readBytes(ChannelBuffer dst)
void
AbstractChannelBuffer. readBytes(ChannelBuffer dst, int length)
void
AbstractChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)
void
ChannelBuffer. readBytes(ChannelBuffer dst)
Transfers this buffer's data to the specified destination starting at the currentreaderIndex
until the destination becomes non-writable, and increases thereaderIndex
by the number of the transferred bytes.void
ChannelBuffer. readBytes(ChannelBuffer dst, int length)
Transfers this buffer's data to the specified destination starting at the currentreaderIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
).void
ChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)
Transfers this buffer's data to the specified destination starting at the currentreaderIndex
and increases thereaderIndex
by the number of the transferred bytes (=length
).void
AbstractChannelBuffer. setBytes(int index, ChannelBuffer src)
void
AbstractChannelBuffer. setBytes(int index, ChannelBuffer src, int length)
void
ByteBufferBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)
void
ChannelBuffer. setBytes(int index, ChannelBuffer src)
Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex
until the source buffer becomes unreadable.void
ChannelBuffer. setBytes(int index, ChannelBuffer src, int length)
Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex
.void
ChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)
Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex
.void
DynamicChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)
void
HeapChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)
void
AbstractChannelBuffer. writeBytes(ChannelBuffer src)
void
AbstractChannelBuffer. writeBytes(ChannelBuffer src, int length)
void
AbstractChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)
void
ChannelBuffer. writeBytes(ChannelBuffer src)
Transfers the specified source buffer's data to this buffer starting at the currentwriterIndex
until the source buffer becomes unreadable, and increases thewriterIndex
by the number of the transferred bytes.void
ChannelBuffer. writeBytes(ChannelBuffer src, int length)
Transfers the specified source buffer's data to this buffer starting at the currentwriterIndex
and increases thewriterIndex
by the number of the transferred bytes (=length
).void
ChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)
Transfers the specified source buffer's data to this buffer starting at the currentwriterIndex
and increases thewriterIndex
by the number of the transferred bytes (=length
).void
DynamicChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的构造器 构造器 说明 ChannelBufferInputStream(ChannelBuffer buffer)
ChannelBufferInputStream(ChannelBuffer buffer, int length)
ChannelBufferOutputStream(ChannelBuffer buffer)
-
com.alibaba.dubbo.remoting.exchange.codec中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.exchange.codec中的方法 修饰符和类型 方法 说明 Object
ExchangeCodec. decode(Channel channel, ChannelBuffer buffer)
void
ExchangeCodec. encode(Channel channel, ChannelBuffer buffer, Object msg)
-
com.alibaba.dubbo.remoting.telnet.codec中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.telnet.codec中的方法 修饰符和类型 方法 说明 Object
TelnetCodec. decode(Channel channel, ChannelBuffer buffer)
void
TelnetCodec. encode(Channel channel, ChannelBuffer buffer, Object message)
-
com.alibaba.dubbo.remoting.transport.codec中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.transport.codec中的方法 修饰符和类型 方法 说明 Object
CodecAdapter. decode(Channel channel, ChannelBuffer buffer)
Object
TransportCodec. decode(Channel channel, ChannelBuffer buffer)
void
CodecAdapter. encode(Channel channel, ChannelBuffer buffer, Object message)
void
TransportCodec. encode(Channel channel, ChannelBuffer buffer, Object message)
-
com.alibaba.dubbo.remoting.transport.netty中ChannelBuffer的使用
实现ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty中的类 修饰符和类型 类 说明 class
NettyBackedChannelBuffer
返回ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty中的方法 修饰符和类型 方法 说明 ChannelBuffer
NettyBackedChannelBuffer. copy()
ChannelBuffer
NettyBackedChannelBuffer. copy(int index, int length)
ChannelBuffer
NettyBackedChannelBufferFactory. getBuffer(byte[] array, int offset, int length)
ChannelBuffer
NettyBackedChannelBufferFactory. getBuffer(int capacity)
ChannelBuffer
NettyBackedChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)
ChannelBuffer
NettyBackedChannelBuffer. readBytes(int length)
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty中的方法 修饰符和类型 方法 说明 int
NettyBackedChannelBuffer. compareTo(ChannelBuffer o)
void
NettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst)
void
NettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)
void
NettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)
void
NettyBackedChannelBuffer. readBytes(ChannelBuffer dst)
void
NettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int length)
void
NettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)
void
NettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src)
void
NettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int length)
void
NettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)
void
NettyBackedChannelBuffer. writeBytes(ChannelBuffer src)
void
NettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int length)
void
NettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)
-
com.alibaba.dubbo.remoting.transport.netty4中ChannelBuffer的使用
实现ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty4中的类 修饰符和类型 类 说明 class
NettyBackedChannelBuffer
返回ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty4中的方法 修饰符和类型 方法 说明 ChannelBuffer
NettyBackedChannelBuffer. copy()
ChannelBuffer
NettyBackedChannelBuffer. copy(int index, int length)
ChannelBuffer
NettyBackedChannelBuffer. readBytes(int length)
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty4中的方法 修饰符和类型 方法 说明 int
NettyBackedChannelBuffer. compareTo(ChannelBuffer o)
void
NettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst)
void
NettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)
void
NettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)
void
NettyBackedChannelBuffer. readBytes(ChannelBuffer dst)
void
NettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int length)
void
NettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)
void
NettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src)
void
NettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int length)
void
NettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)
void
NettyBackedChannelBuffer. writeBytes(ChannelBuffer src)
void
NettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int length)
void
NettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)
-
com.alibaba.dubbo.rpc.protocol.dubbo中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.rpc.protocol.dubbo中的方法 修饰符和类型 方法 说明 Object
DubboCountCodec. decode(Channel channel, ChannelBuffer buffer)
void
DubboCountCodec. encode(Channel channel, ChannelBuffer buffer, Object msg)
-
com.alibaba.dubbo.rpc.protocol.thrift中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.rpc.protocol.thrift中的方法 修饰符和类型 方法 说明 Object
ThriftCodec. decode(Channel channel, ChannelBuffer buffer)
Object
ThriftNativeCodec. decode(Channel channel, ChannelBuffer buffer)
void
ThriftCodec. encode(Channel channel, ChannelBuffer buffer, Object message)
void
ThriftNativeCodec. encode(Channel channel, ChannelBuffer buffer, Object message)
-