public class SerializerHelpers extends Object
| Constructor and Description |
|---|
SerializerHelpers() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.buffer.ChannelBuffer |
getBuffer() |
void |
setBuffer(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
writeCharSequence(CharSequence value,
int maxSize,
boolean isTerminable) |
void |
writeData(byte[] value,
int maxSize) |
void |
writeInt16(short value) |
void |
writeInt32(int value) |
void |
writeInt64(long value) |
void |
writeInt8(byte value) |
void |
writeMessage(Message message) |
void |
writePad(int size) |
void |
writeRequestHeader(long msgSeqNum,
long senderSubId) |
void |
writeString(String value,
int maxSize,
boolean isTerminable) |
void |
writeUInt16(int value) |
void |
writeUInt32(long value) |
void |
writeUInt64(long value) |
void |
writeUInt8(short value) |
public org.jboss.netty.buffer.ChannelBuffer getBuffer()
public void setBuffer(org.jboss.netty.buffer.ChannelBuffer buffer)
public void writeRequestHeader(long msgSeqNum,
long senderSubId)
throws IOException
IOExceptionpublic void writeInt8(byte value)
throws IOException
IOExceptionpublic void writeUInt8(short value)
throws IOException
IOExceptionpublic void writeInt16(short value)
throws IOException
IOExceptionpublic void writeUInt16(int value)
throws IOException
IOExceptionpublic void writeInt32(int value)
throws IOException
IOExceptionpublic void writeUInt32(long value)
throws IOException
IOExceptionpublic void writeInt64(long value)
throws IOException
IOExceptionpublic void writeUInt64(long value)
throws IOException
IOExceptionpublic void writeString(String value, int maxSize, boolean isTerminable) throws IOException
IOExceptionpublic void writeCharSequence(CharSequence value, int maxSize, boolean isTerminable) throws IOException
IOExceptionpublic void writeData(byte[] value,
int maxSize)
throws IOException
IOExceptionpublic void writePad(int size)
throws IOException
IOExceptionpublic void writeMessage(Message message) throws IOException
IOExceptionCopyright © 2012–2025 Onix Solutions. All rights reserved.