Commit 6535330a444095f8d32249fa3b01cab8f6250647
Committed by
GitHub
Merge pull request #949 from janbols/Serializable
Make RemoteToRuleChainTellNextMsg Serializable
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -22,12 +22,15 @@ import org.thingsboard.server.common.msg.MsgType; | @@ -22,12 +22,15 @@ import org.thingsboard.server.common.msg.MsgType; | ||
22 | import org.thingsboard.server.common.msg.aware.RuleChainAwareMsg; | 22 | import org.thingsboard.server.common.msg.aware.RuleChainAwareMsg; |
23 | import org.thingsboard.server.common.msg.aware.TenantAwareMsg; | 23 | import org.thingsboard.server.common.msg.aware.TenantAwareMsg; |
24 | 24 | ||
25 | +import java.io.Serializable; | ||
26 | + | ||
25 | /** | 27 | /** |
26 | * Created by ashvayka on 19.03.18. | 28 | * Created by ashvayka on 19.03.18. |
27 | */ | 29 | */ |
28 | @Data | 30 | @Data |
29 | -final class RemoteToRuleChainTellNextMsg extends RuleNodeToRuleChainTellNextMsg implements TenantAwareMsg, RuleChainAwareMsg { | 31 | +final class RemoteToRuleChainTellNextMsg extends RuleNodeToRuleChainTellNextMsg implements TenantAwareMsg, RuleChainAwareMsg, Serializable { |
30 | 32 | ||
33 | + private static final long serialVersionUID = 2459605482321657447L; | ||
31 | private final TenantId tenantId; | 34 | private final TenantId tenantId; |
32 | private final RuleChainId ruleChainId; | 35 | private final RuleChainId ruleChainId; |
33 | 36 |