Browse Source
Merge pull request #951 from janbols/Serializable
RuleNodeToRuleChainTellNextMsg is not Serializable
pull/965/merge
Andrew Shvayka
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
2 deletions
-
application/src/main/java/org/thingsboard/server/actors/ruleChain/RemoteToRuleChainTellNextMsg.java
-
application/src/main/java/org/thingsboard/server/actors/ruleChain/RuleNodeToRuleChainTellNextMsg.java
|
|
|
@ -28,7 +28,7 @@ import java.io.Serializable; |
|
|
|
* Created by ashvayka on 19.03.18. |
|
|
|
*/ |
|
|
|
@Data |
|
|
|
final class RemoteToRuleChainTellNextMsg extends RuleNodeToRuleChainTellNextMsg implements TenantAwareMsg, RuleChainAwareMsg, Serializable { |
|
|
|
final class RemoteToRuleChainTellNextMsg extends RuleNodeToRuleChainTellNextMsg implements TenantAwareMsg, RuleChainAwareMsg { |
|
|
|
|
|
|
|
private static final long serialVersionUID = 2459605482321657447L; |
|
|
|
private final TenantId tenantId; |
|
|
|
|
|
|
|
@ -21,14 +21,16 @@ import org.thingsboard.server.common.msg.MsgType; |
|
|
|
import org.thingsboard.server.common.msg.TbActorMsg; |
|
|
|
import org.thingsboard.server.common.msg.TbMsg; |
|
|
|
|
|
|
|
import java.io.Serializable; |
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
/** |
|
|
|
* Created by ashvayka on 19.03.18. |
|
|
|
*/ |
|
|
|
@Data |
|
|
|
class RuleNodeToRuleChainTellNextMsg implements TbActorMsg { |
|
|
|
class RuleNodeToRuleChainTellNextMsg implements TbActorMsg, Serializable { |
|
|
|
|
|
|
|
private static final long serialVersionUID = 4577026446412871820L; |
|
|
|
private final RuleNodeId originator; |
|
|
|
private final Set<String> relationTypes; |
|
|
|
private final TbMsg msg; |
|
|
|
|