public abstract class AbstractMessage extends Object implements MessageTypeAware, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.channel.ChannelHandlerContext |
ctx
The Ctx.
|
protected static org.slf4j.Logger |
LOGGER |
protected static long |
serialVersionUID |
protected static Charset |
UTF8
The constant UTF8.
|
| Constructor and Description |
|---|
AbstractMessage() |
| Modifier and Type | Method and Description |
|---|---|
static int |
bytesToInt(byte[] bytes,
int offset)
Bytes to int int.
|
static void |
intToBytes(int i,
byte[] bytes,
int offset)
Int to bytes.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeCodeprotected static final org.slf4j.Logger LOGGER
protected static final long serialVersionUID
protected static final Charset UTF8
protected io.netty.channel.ChannelHandlerContext ctx
public static int bytesToInt(byte[] bytes,
int offset)
bytes - the bytesoffset - the offsetpublic static void intToBytes(int i,
byte[] bytes,
int offset)
i - thebytes - the bytesoffset - the offsetCopyright © 2023 Seata. All rights reserved.