接口的使用
com.alibaba.dubbo.remoting.buffer.ChannelBuffer
-
-
com.alibaba.dubbo.remoting中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting中的方法 修饰符和类型 方法 说明 ObjectCodec2. decode(Channel channel, ChannelBuffer buffer)voidCodec2. encode(Channel channel, ChannelBuffer buffer, Object message) -
com.alibaba.dubbo.remoting.buffer中ChannelBuffer的使用
实现ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的类 修饰符和类型 类 说明 classAbstractChannelBufferclassByteBufferBackedChannelBufferclassDynamicChannelBufferclassHeapChannelBuffer声明为ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的字段 修饰符和类型 字段 说明 static ChannelBufferChannelBuffers. EMPTY_BUFFER返回ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的方法 修饰符和类型 方法 说明 ChannelBufferChannelBufferOutputStream. buffer()static ChannelBufferChannelBuffers. buffer(int capacity)ChannelBufferAbstractChannelBuffer. copy()ChannelBufferByteBufferBackedChannelBuffer. copy(int index, int length)ChannelBufferChannelBuffer. copy()Returns a copy of this buffer's readable bytes.ChannelBufferChannelBuffer. copy(int index, int length)Returns a copy of this buffer's sub-region.ChannelBufferDynamicChannelBuffer. copy(int index, int length)ChannelBufferHeapChannelBuffer. copy(int index, int length)static ChannelBufferChannelBuffers. directBuffer(int capacity)static ChannelBufferChannelBuffers. dynamicBuffer()static ChannelBufferChannelBuffers. dynamicBuffer(int capacity)static ChannelBufferChannelBuffers. dynamicBuffer(int capacity, ChannelBufferFactory factory)ChannelBufferChannelBufferFactory. getBuffer(byte[] array, int offset, int length)ChannelBufferChannelBufferFactory. getBuffer(int capacity)ChannelBufferChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)ChannelBufferDirectChannelBufferFactory. getBuffer(byte[] array, int offset, int length)ChannelBufferDirectChannelBufferFactory. getBuffer(int capacity)ChannelBufferDirectChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)ChannelBufferHeapChannelBufferFactory. getBuffer(byte[] array, int offset, int length)ChannelBufferHeapChannelBufferFactory. getBuffer(int capacity)ChannelBufferHeapChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)ChannelBufferAbstractChannelBuffer. readBytes(int length)ChannelBufferChannelBuffer. readBytes(int length)Transfers this buffer's data to a newly created buffer starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).static ChannelBufferChannelBuffers. wrappedBuffer(byte[] array)static ChannelBufferChannelBuffers. wrappedBuffer(byte[] array, int offset, int length)static ChannelBufferChannelBuffers. wrappedBuffer(ByteBuffer buffer)参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.buffer中的方法 修饰符和类型 方法 说明 static intChannelBuffers. compare(ChannelBuffer bufferA, ChannelBuffer bufferB)intAbstractChannelBuffer. compareTo(ChannelBuffer that)static booleanChannelBuffers. equals(ChannelBuffer bufferA, ChannelBuffer bufferB)voidAbstractChannelBuffer. getBytes(int index, ChannelBuffer dst)voidAbstractChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)voidByteBufferBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidChannelBuffer. getBytes(int index, ChannelBuffer dst)Transfers this buffer's data to the specified destination starting at the specified absoluteindexuntil the destination becomes non-writable.voidChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.voidChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the specified absoluteindex.voidDynamicChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidHeapChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidAbstractChannelBuffer. readBytes(ChannelBuffer dst)voidAbstractChannelBuffer. readBytes(ChannelBuffer dst, int length)voidAbstractChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)voidChannelBuffer. readBytes(ChannelBuffer dst)Transfers this buffer's data to the specified destination starting at the currentreaderIndexuntil the destination becomes non-writable, and increases thereaderIndexby the number of the transferred bytes.voidChannelBuffer. readBytes(ChannelBuffer dst, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).voidChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)Transfers this buffer's data to the specified destination starting at the currentreaderIndexand increases thereaderIndexby the number of the transferred bytes (=length).voidAbstractChannelBuffer. setBytes(int index, ChannelBuffer src)voidAbstractChannelBuffer. setBytes(int index, ChannelBuffer src, int length)voidByteBufferBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidChannelBuffer. setBytes(int index, ChannelBuffer src)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindexuntil the source buffer becomes unreadable.voidChannelBuffer. setBytes(int index, ChannelBuffer src, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.voidChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the specified absoluteindex.voidDynamicChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidHeapChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidAbstractChannelBuffer. writeBytes(ChannelBuffer src)voidAbstractChannelBuffer. writeBytes(ChannelBuffer src, int length)voidAbstractChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)voidChannelBuffer. writeBytes(ChannelBuffer src)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexuntil the source buffer becomes unreadable, and increases thewriterIndexby the number of the transferred bytes.voidChannelBuffer. writeBytes(ChannelBuffer src, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).voidChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length)Transfers the specified source buffer's data to this buffer starting at the currentwriterIndexand increases thewriterIndexby the number of the transferred bytes (=length).voidDynamicChannelBuffer. 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中的方法 修饰符和类型 方法 说明 ObjectExchangeCodec. decode(Channel channel, ChannelBuffer buffer)voidExchangeCodec. encode(Channel channel, ChannelBuffer buffer, Object msg) -
com.alibaba.dubbo.remoting.telnet.codec中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.telnet.codec中的方法 修饰符和类型 方法 说明 ObjectTelnetCodec. decode(Channel channel, ChannelBuffer buffer)voidTelnetCodec. encode(Channel channel, ChannelBuffer buffer, Object message) -
com.alibaba.dubbo.remoting.transport.codec中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.transport.codec中的方法 修饰符和类型 方法 说明 ObjectCodecAdapter. decode(Channel channel, ChannelBuffer buffer)ObjectTransportCodec. decode(Channel channel, ChannelBuffer buffer)voidCodecAdapter. encode(Channel channel, ChannelBuffer buffer, Object message)voidTransportCodec. encode(Channel channel, ChannelBuffer buffer, Object message) -
com.alibaba.dubbo.remoting.transport.netty中ChannelBuffer的使用
实现ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty中的类 修饰符和类型 类 说明 classNettyBackedChannelBuffer返回ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty中的方法 修饰符和类型 方法 说明 ChannelBufferNettyBackedChannelBuffer. copy()ChannelBufferNettyBackedChannelBuffer. copy(int index, int length)ChannelBufferNettyBackedChannelBufferFactory. getBuffer(byte[] array, int offset, int length)ChannelBufferNettyBackedChannelBufferFactory. getBuffer(int capacity)ChannelBufferNettyBackedChannelBufferFactory. getBuffer(ByteBuffer nioBuffer)ChannelBufferNettyBackedChannelBuffer. readBytes(int length)参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty中的方法 修饰符和类型 方法 说明 intNettyBackedChannelBuffer. compareTo(ChannelBuffer o)voidNettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst)voidNettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)voidNettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidNettyBackedChannelBuffer. readBytes(ChannelBuffer dst)voidNettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int length)voidNettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)voidNettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src)voidNettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int length)voidNettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidNettyBackedChannelBuffer. writeBytes(ChannelBuffer src)voidNettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int length)voidNettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length) -
com.alibaba.dubbo.remoting.transport.netty4中ChannelBuffer的使用
实现ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty4中的类 修饰符和类型 类 说明 classNettyBackedChannelBuffer返回ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty4中的方法 修饰符和类型 方法 说明 ChannelBufferNettyBackedChannelBuffer. copy()ChannelBufferNettyBackedChannelBuffer. copy(int index, int length)ChannelBufferNettyBackedChannelBuffer. readBytes(int length)参数类型为ChannelBuffer的com.alibaba.dubbo.remoting.transport.netty4中的方法 修饰符和类型 方法 说明 intNettyBackedChannelBuffer. compareTo(ChannelBuffer o)voidNettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst)voidNettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int length)voidNettyBackedChannelBuffer. getBytes(int index, ChannelBuffer dst, int dstIndex, int length)voidNettyBackedChannelBuffer. readBytes(ChannelBuffer dst)voidNettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int length)voidNettyBackedChannelBuffer. readBytes(ChannelBuffer dst, int dstIndex, int length)voidNettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src)voidNettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int length)voidNettyBackedChannelBuffer. setBytes(int index, ChannelBuffer src, int srcIndex, int length)voidNettyBackedChannelBuffer. writeBytes(ChannelBuffer src)voidNettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int length)voidNettyBackedChannelBuffer. writeBytes(ChannelBuffer src, int srcIndex, int length) -
com.alibaba.dubbo.rpc.protocol.dubbo中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.rpc.protocol.dubbo中的方法 修饰符和类型 方法 说明 ObjectDubboCountCodec. decode(Channel channel, ChannelBuffer buffer)voidDubboCountCodec. encode(Channel channel, ChannelBuffer buffer, Object msg) -
com.alibaba.dubbo.rpc.protocol.thrift中ChannelBuffer的使用
参数类型为ChannelBuffer的com.alibaba.dubbo.rpc.protocol.thrift中的方法 修饰符和类型 方法 说明 ObjectThriftCodec. decode(Channel channel, ChannelBuffer buffer)ObjectThriftNativeCodec. decode(Channel channel, ChannelBuffer buffer)voidThriftCodec. encode(Channel channel, ChannelBuffer buffer, Object message)voidThriftNativeCodec. encode(Channel channel, ChannelBuffer buffer, Object message)
-