diff --git a/common/src/main/java/cn/wildfirechat/pojos/ConferenceJoinEvent.java b/common/src/main/java/cn/wildfirechat/pojos/ConferenceJoinEvent.java index 2fb0585c..2f2822a4 100644 --- a/common/src/main/java/cn/wildfirechat/pojos/ConferenceJoinEvent.java +++ b/common/src/main/java/cn/wildfirechat/pojos/ConferenceJoinEvent.java @@ -3,4 +3,5 @@ package cn.wildfirechat.pojos; public class ConferenceJoinEvent { public String userId; public String roomId; + public boolean screenSharing; } diff --git a/common/src/main/java/cn/wildfirechat/pojos/ConferenceLeaveEvent.java b/common/src/main/java/cn/wildfirechat/pojos/ConferenceLeaveEvent.java index fa13beac..9da10f4a 100644 --- a/common/src/main/java/cn/wildfirechat/pojos/ConferenceLeaveEvent.java +++ b/common/src/main/java/cn/wildfirechat/pojos/ConferenceLeaveEvent.java @@ -3,4 +3,5 @@ package cn.wildfirechat.pojos; public class ConferenceLeaveEvent { public String userId; public String roomId; + public boolean screenSharing; } diff --git a/common/src/main/java/cn/wildfirechat/pojos/ConferencePublishEvent.java b/common/src/main/java/cn/wildfirechat/pojos/ConferencePublishEvent.java index cca79146..042fd2dc 100644 --- a/common/src/main/java/cn/wildfirechat/pojos/ConferencePublishEvent.java +++ b/common/src/main/java/cn/wildfirechat/pojos/ConferencePublishEvent.java @@ -4,4 +4,5 @@ public class ConferencePublishEvent { public String userId; public boolean video; public String roomId; + public boolean screenSharing; } diff --git a/common/src/main/java/cn/wildfirechat/pojos/ConferenceUnpublishEvent.java b/common/src/main/java/cn/wildfirechat/pojos/ConferenceUnpublishEvent.java index 20155809..c79f1a05 100644 --- a/common/src/main/java/cn/wildfirechat/pojos/ConferenceUnpublishEvent.java +++ b/common/src/main/java/cn/wildfirechat/pojos/ConferenceUnpublishEvent.java @@ -3,4 +3,5 @@ package cn.wildfirechat.pojos; public class ConferenceUnpublishEvent { public String userId; public String roomId; + public boolean screenSharing; } diff --git a/common/src/main/java/cn/wildfirechat/pojos/ForwardDeviceMessageData.java b/common/src/main/java/cn/wildfirechat/pojos/ForwardDeviceMessageData.java index c171cbbb..1f5184b2 100644 --- a/common/src/main/java/cn/wildfirechat/pojos/ForwardDeviceMessageData.java +++ b/common/src/main/java/cn/wildfirechat/pojos/ForwardDeviceMessageData.java @@ -18,6 +18,9 @@ public class ForwardDeviceMessageData { private int type; private byte[] data; + public ForwardDeviceMessageData() { + } + public ForwardDeviceMessageData(String deviceId, int type, byte[] data) { this.deviceId = deviceId; this.type = type; diff --git a/common/src/main/java/cn/wildfirechat/pojos/GroupNotificationBinaryContent.java b/common/src/main/java/cn/wildfirechat/pojos/GroupNotificationBinaryContent.java index f12d69b6..14e89ce7 100644 --- a/common/src/main/java/cn/wildfirechat/pojos/GroupNotificationBinaryContent.java +++ b/common/src/main/java/cn/wildfirechat/pojos/GroupNotificationBinaryContent.java @@ -31,6 +31,9 @@ public class GroupNotificationBinaryContent { //value2(member or something) private String m; + public GroupNotificationBinaryContent() { + } + public GroupNotificationBinaryContent(String g, String o, String n, String m) { this.g = g; this.o = o; diff --git a/common/src/main/java/cn/wildfirechat/pojos/InputChatroomMute.java b/common/src/main/java/cn/wildfirechat/pojos/InputChatroomMute.java index 0ba22d32..17310dc1 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/InputChatroomMute.java +++ b/common/src/main/java/cn/wildfirechat/pojos/InputChatroomMute.java @@ -13,6 +13,9 @@ public class InputChatroomMute { private String chatroomId; private int status; + public InputChatroomMute() { + } + public InputChatroomMute(String chatroomId, int status) { this.chatroomId = chatroomId; this.status = status; diff --git a/common/src/main/java/cn/wildfirechat/pojos/InputGetToken.java b/common/src/main/java/cn/wildfirechat/pojos/InputGetToken.java index 1330bbf2..67340fce 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/InputGetToken.java +++ b/common/src/main/java/cn/wildfirechat/pojos/InputGetToken.java @@ -5,6 +5,9 @@ public class InputGetToken { private String clientId; private Integer platform; + public InputGetToken() { + } + public InputGetToken(String userId, String clientId, int platform) { this.userId = userId; this.clientId = clientId; diff --git a/common/src/main/java/cn/wildfirechat/pojos/InputGetUserInfo.java b/common/src/main/java/cn/wildfirechat/pojos/InputGetUserInfo.java index efc05a9b..abf9f178 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/InputGetUserInfo.java +++ b/common/src/main/java/cn/wildfirechat/pojos/InputGetUserInfo.java @@ -13,6 +13,9 @@ public class InputGetUserInfo { private String name; private String mobile; + public InputGetUserInfo() { + } + public InputGetUserInfo(String userId, String name, String mobile) { this.userId = userId; this.name = name; diff --git a/common/src/main/java/cn/wildfirechat/pojos/InputOutputUserBlockStatus.java b/common/src/main/java/cn/wildfirechat/pojos/InputOutputUserBlockStatus.java index fe3188b0..8256a51c 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/InputOutputUserBlockStatus.java +++ b/common/src/main/java/cn/wildfirechat/pojos/InputOutputUserBlockStatus.java @@ -13,6 +13,9 @@ public class InputOutputUserBlockStatus { private String userId; private int status; + public InputOutputUserBlockStatus() { + } + public InputOutputUserBlockStatus(String userId, int status) { this.userId = userId; this.status = status; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputCreateDevice.java b/common/src/main/java/cn/wildfirechat/pojos/OutputCreateDevice.java index b5590055..0cb72bf9 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputCreateDevice.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputCreateDevice.java @@ -13,6 +13,9 @@ public class OutputCreateDevice { private String token; private String secret; + public OutputCreateDevice() { + } + public OutputCreateDevice(String userId, String token, String secret) { this.deviceId = userId; this.token = token; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputCreateRobot.java b/common/src/main/java/cn/wildfirechat/pojos/OutputCreateRobot.java index 4ce722c0..e42b7637 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputCreateRobot.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputCreateRobot.java @@ -12,6 +12,9 @@ public class OutputCreateRobot { private String userId; private String secret; + public OutputCreateRobot() { + } + public OutputCreateRobot(String userId, String secret) { this.userId = userId; this.secret = secret; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputCreateUser.java b/common/src/main/java/cn/wildfirechat/pojos/OutputCreateUser.java index 4218ab4d..529cd2b7 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputCreateUser.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputCreateUser.java @@ -12,6 +12,9 @@ public class OutputCreateUser { private String userId; private String name; + public OutputCreateUser() { + } + public OutputCreateUser(String userId, String name) { this.userId = userId; this.name = name; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputDevice.java b/common/src/main/java/cn/wildfirechat/pojos/OutputDevice.java index 95fad61a..70faf56c 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputDevice.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputDevice.java @@ -20,6 +20,9 @@ public class OutputDevice { private List owners; private String extra; + public OutputDevice() { + } + public OutputDevice(String deviceId, String token, String secret) { this.deviceId = deviceId; this.token = token; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputLoginData.java b/common/src/main/java/cn/wildfirechat/pojos/OutputLoginData.java index 822ff6f4..3194bb1b 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputLoginData.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputLoginData.java @@ -14,6 +14,9 @@ public class OutputLoginData { private String userId; private String token; + public OutputLoginData() { + } + public OutputLoginData(String userId, String token) { this.userId = userId; this.token = token; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputNotifyChannelSubscribeStatus.java b/common/src/main/java/cn/wildfirechat/pojos/OutputNotifyChannelSubscribeStatus.java index a9e1fdd0..a4946a9c 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputNotifyChannelSubscribeStatus.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputNotifyChannelSubscribeStatus.java @@ -13,6 +13,9 @@ public class OutputNotifyChannelSubscribeStatus { private String channelId; private int status; + public OutputNotifyChannelSubscribeStatus() { + } + public OutputNotifyChannelSubscribeStatus(String userId, String channelId, boolean subscirbed) { this.userId = userId; this.channelId = channelId; diff --git a/common/src/main/java/cn/wildfirechat/pojos/OutputRouteData.java b/common/src/main/java/cn/wildfirechat/pojos/OutputRouteData.java index eeca924e..619f814b 100755 --- a/common/src/main/java/cn/wildfirechat/pojos/OutputRouteData.java +++ b/common/src/main/java/cn/wildfirechat/pojos/OutputRouteData.java @@ -16,6 +16,9 @@ public class OutputRouteData { ; private int shortPort; private String secret; + public OutputRouteData() { + } + public OutputRouteData(List serverIPs, int longPort, int shortPort, String secret) { this.serverIPs = serverIPs; this.longPort = longPort;