info.gratour.jtactor.JtActorMsgs.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt-core Show documentation
Show all versions of jt-core Show documentation
`jt-core` is a java/scala communication processing library for JT808/JT809/JT1078 standard.
The newest version!
/** *****************************************************************************
* Copyright (c) 2019, 2020 lucendar.com.
* All rights reserved.
*
* Contributors:
* KwanKin Yau ([email protected]) - initial API and implementation
* ******************************************************************************/
package info.gratour.jtactor
import info.gratour.jtmodel.alm.AlmRpt
import info.gratour.jtmodel.trk.Trk
object JtActorMsgs {
trait JtActorMessage
// case object StartActor extends JtActorMessage
// case object StopActor extends JtActorMessage
case class TermOnline(simNo: String) extends JtActorMessage
case class TermOffline(simNo: String) extends JtActorMessage
case class TrkReceived(trk: Trk) extends JtActorMessage
case class AlmRptReceived(alm: AlmRpt) extends JtActorMessage
case class ExceptionCaught(cause: Throwable) extends JtActorMessage
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy