Class DefaultCommunicationMessageCodec
java.lang.Object
com.iohao.net.external.core.message.DefaultCommunicationMessageCodec
- All Implemented Interfaces:
CommunicationMessageCodec
public final class DefaultCommunicationMessageCodec
extends Object
implements CommunicationMessageCodec
Default codec implementation that creates
ExternalMessage instances.- Author:
- 渔民小镇
- See Also:
- date:
- 2023-12-15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a business-message template with the default command code.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommunicationMessageCodec
decode, encode
-
Constructor Details
-
DefaultCommunicationMessageCodec
public DefaultCommunicationMessageCodec()
-
-
Method Details
-
createCommunicationMessage
Create a business-message template with the default command code.- Specified by:
createCommunicationMessagein interfaceCommunicationMessageCodec- Returns:
- initialized external message
-