All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.gratour.jt809core.codec.encoder.bodyencoder.link.MBEncoder_9003_DownDisconnectReq.scala Maven / Gradle / Ivy

Go to download

`jt-core` is a java/scala communication processing library for JT808/JT809/JT1078 standard.

The newest version!
package info.gratour.jt809core.codec.encoder.bodyencoder.link

import info.gratour.jt809core.codec.encoder.bodyencoder.MsgBodyEncoder
import info.gratour.jt809core.protocol.JT809Msg
import info.gratour.jt809core.protocol.msg.link.JT809Msg_9003_DownDisconnectReq
import io.netty.buffer.ByteBuf

object MBEncoder_9003_DownDisconnectReq extends MsgBodyEncoder{
  override def msgId: Int = JT809Msg_9003_DownDisconnectReq.MSG_ID

  override def encodeBody(m: JT809Msg, out: ByteBuf): Unit = {
    out.writeInt(m.asInstanceOf[JT809Msg_9003_DownDisconnectReq].getVerifyCode)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy