Class SbeKit
java.lang.Object
com.iohao.net.common.SbeKit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecoderMessageCommon(RemoteMessage message, CommonMessageDecoder common) Decodes common remote-message fields with the activesbeCodec.voiddecoderUserIdentity(UserIdentity message, UserIdentityMessageDecoder userIdentity) Decodes user identity fields with the activesbeCodec.voidencoderMessageCommon(RemoteMessage message, CommonMessageEncoder common) Encodes common remote-message fields with the activesbeCodec.voidencoderUserIdentity(UserIdentity message, UserIdentityMessageEncoder userIdentity) Encodes user identity fields with the activesbeCodec.
-
Constructor Details
-
SbeKit
public SbeKit()
-
-
Method Details
-
encoderUserIdentity
Encodes user identity fields with the activesbeCodec.- Parameters:
message- source modeluserIdentity- target SBE encoder
-
decoderUserIdentity
Decodes user identity fields with the activesbeCodec.- Parameters:
message- target modeluserIdentity- source SBE decoder
-
encoderMessageCommon
Encodes common remote-message fields with the activesbeCodec.- Parameters:
message- source modelcommon- target SBE encoder
-
decoderMessageCommon
Decodes common remote-message fields with the activesbeCodec.- Parameters:
message- target modelcommon- source SBE decoder
-