public class LayoutMsg extends CorfuMsg
Constructor and Description |
---|
LayoutMsg(Layout layout,
CorfuMsgType type) |
Modifier and Type | Method and Description |
---|---|
void |
fromBuffer(io.netty.buffer.ByteBuf buffer)
Parse the rest of the message from the buffer.
|
void |
serialize(io.netty.buffer.ByteBuf buffer)
Serialize the message into the given bytebuffer.
|
copyBaseFields, deserialize, release
public LayoutMsg(Layout layout, CorfuMsgType type)
public void serialize(io.netty.buffer.ByteBuf buffer)
public void fromBuffer(io.netty.buffer.ByteBuf buffer)
fromBuffer
in class CorfuMsg
buffer
- The buffer to deserialize.Copyright © 2019 CorfuDB. All rights reserved.