|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.server.core.transport.netty.NettyChannelBuffer
public class NettyChannelBuffer
NettyChannelBuffer.
Constructor Summary | |
---|---|
NettyChannelBuffer(org.jboss.netty.buffer.ChannelBuffer nettyBuffer)
|
Method Summary | |
---|---|
org.jboss.netty.buffer.ChannelBuffer |
getUnderlyingChannelBuffer()
|
byte |
readByte()
|
void |
readBytes(byte[] dst)
|
void |
readBytes(byte[] dst,
int dstIndex,
int length)
|
ChannelBuffer |
readBytes(int length)
|
int |
readerIndex()
|
byte[] |
readRangedBytes()
|
String |
readString()
Reads length of String and then returns an UTF-8 formatted String of such length. |
short |
readUnsignedByte()
|
int |
readUnsignedInt()
|
long |
readUnsignedLong()
|
void |
writeByte(byte value)
|
void |
writeBytes(byte[] src)
|
void |
writeRangedBytes(byte[] src)
Writes the length of the byte array and transfers the specified source array's data to this buffer |
int |
writerIndex()
|
void |
writeString(String msg)
Writes the length of the String followed by the String itself. |
void |
writeUnsignedInt(int i)
|
void |
writeUnsignedLong(long l)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NettyChannelBuffer(org.jboss.netty.buffer.ChannelBuffer nettyBuffer)
Method Detail |
---|
public org.jboss.netty.buffer.ChannelBuffer getUnderlyingChannelBuffer()
getUnderlyingChannelBuffer
in interface ChannelBuffer
public int readUnsignedInt()
readUnsignedInt
in interface ChannelBuffer
public void writeUnsignedInt(int i)
writeUnsignedInt
in interface ChannelBuffer
public long readUnsignedLong()
readUnsignedLong
in interface ChannelBuffer
public void writeUnsignedLong(long l)
writeUnsignedLong
in interface ChannelBuffer
public byte readByte()
readByte
in interface ChannelBuffer
public void readBytes(byte[] dst, int dstIndex, int length)
readBytes
in interface ChannelBuffer
public ChannelBuffer readBytes(int length)
readBytes
in interface ChannelBuffer
public void readBytes(byte[] dst)
readBytes
in interface ChannelBuffer
public byte[] readRangedBytes()
readRangedBytes
in interface ChannelBuffer
public String readString()
ChannelBuffer
readString
in interface ChannelBuffer
public void writeString(String msg)
ChannelBuffer
writeString
in interface ChannelBuffer
public short readUnsignedByte()
readUnsignedByte
in interface ChannelBuffer
public int readerIndex()
readerIndex
in interface ChannelBuffer
public void writeByte(byte value)
writeByte
in interface ChannelBuffer
public void writeBytes(byte[] src)
writeBytes
in interface ChannelBuffer
public void writeRangedBytes(byte[] src)
ChannelBuffer
writeRangedBytes
in interface ChannelBuffer
public int writerIndex()
writerIndex
in interface ChannelBuffer
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |