public class PgsqlStartupMessageWriter extends Object implements PgsqlMessageWriter<PgsqlStartupMessage>
| Constructor and Description |
|---|
PgsqlStartupMessageWriter() |
| Modifier and Type | Method and Description |
|---|---|
int |
contentSize(PgsqlStartupMessage msg) |
Map<Integer,io.netty.buffer.ByteBuf> |
offsets(PgsqlStartupMessage msg) |
void |
writeContent(PgsqlStartupMessage msg,
io.netty.buffer.ByteBuf buffer) |
void |
writeHeader(PgsqlStartupMessage msg,
int length,
io.netty.buffer.ByteBuf buffer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallocate, allocate, headerSize, length, write, writeBytes, writeBytespublic int contentSize(PgsqlStartupMessage msg)
contentSize in interface PgsqlMessageWriter<PgsqlStartupMessage>public Map<Integer,io.netty.buffer.ByteBuf> offsets(PgsqlStartupMessage msg)
offsets in interface PgsqlMessageWriter<PgsqlStartupMessage>public void writeHeader(PgsqlStartupMessage msg, int length, io.netty.buffer.ByteBuf buffer) throws IOException
writeHeader in interface PgsqlMessageWriter<PgsqlStartupMessage>IOExceptionpublic void writeContent(PgsqlStartupMessage msg, io.netty.buffer.ByteBuf buffer) throws IOException
writeContent in interface PgsqlMessageWriter<PgsqlStartupMessage>IOExceptionCopyright © 2017 The CLARUS Consortium. All rights reserved.