package protocol

type ActorMsg interface {
	GetMessageType() MsgType
}

// actor message type def
type MsgType string

const (
	QUEUE_TO_RULE_ENGINE_MSG         MsgType = "QUEUE_TO_RULE_ENGINE_MSG"
	RULE_CHAIN_TO_RULE_MSG           MsgType = "RULE_CHAIN_TO_RULE_MSG"
	RULE_TO_RULE_CHAIN_TELL_NEXT_MSG MsgType = "RULE_TO_RULE_CHAIN_TELL_NEXT_MSG"
	RULE_TO_SELF_MSG                 MsgType = "RULE_TO_SELF_MSG"
	APP_INIT_MSG                     MsgType = "APP_INIT_MSG"
	TRANSPORT_TO_DEVICE_ACTOR_MSG    MsgType = "TRANSPORT_TO_DEVICE_ACTOR_MSG"
	RULE_CHAIN_TO_RULE_CHAIN_MSG     MsgType = "RULE_CHAIN_TO_RULE_CHAIN_MSG"
	RULE_TO_SELF_ERROR_MSG           MsgType = "RULE_TO_SELF_ERROR_MSG"
	COMPONENT_LIFE_CYCLE_MSG         MsgType = "COMPONENT_LIFE_CYCLE_MSG"
)
