public class MessageCodecFactory extends Object
| 构造器和说明 |
|---|
MessageCodecFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static AbstractMessage |
getMergeRequestInstanceByCode(int typeCode)
Gets merge request instance by code.
|
protected static MessageSeataCodec |
getMergeRequestMessageSeataCodec(int typeCode)
Gets merge request instance by code.
|
protected static AbstractMessage |
getMergeResponseInstanceByCode(int typeCode)
Gets merge response instance by code.
|
protected static MessageSeataCodec |
getMergeResponseMessageSeataCodec(int typeCode)
Gets merge response instance by code.
|
static AbstractMessage |
getMessage(short typeCode)
Gets message.
|
static MessageSeataCodec |
getMessageCodec(AbstractMessage abstractMessage)
Get message codec message codec.
|
static MessageSeataCodec |
getMessageCodec(short typeCode)
Gets msg instance by code.
|
protected static final Charset UTF8
public static MessageSeataCodec getMessageCodec(AbstractMessage abstractMessage)
abstractMessage - the abstract messagepublic static MessageSeataCodec getMessageCodec(short typeCode)
typeCode - the type codeprotected static MessageSeataCodec getMergeRequestMessageSeataCodec(int typeCode)
typeCode - the type codeprotected static MessageSeataCodec getMergeResponseMessageSeataCodec(int typeCode)
typeCode - the type codepublic static AbstractMessage getMessage(short typeCode)
typeCode - the type codeprotected static AbstractMessage getMergeRequestInstanceByCode(int typeCode)
typeCode - the type codeprotected static AbstractMessage getMergeResponseInstanceByCode(int typeCode)
typeCode - the type codeCopyright © 2020 Seata. All rights reserved.