Commit 58027879 by Kim Peace

Fixed to catch acms error for finish all collaboration action

parent f916844c
Subproject commit 49aed2c0c3adbb64728ce37544f8a35cf80fa9c6 Subproject commit 0757186e1cc10ef221209bd40d653fff22e73bd4
...@@ -264,35 +264,39 @@ public class ChatData { ...@@ -264,35 +264,39 @@ public class ChatData {
public void joinCollaboration(String collaborationType, String meetingId) throws NetworkDisconnectedException, AcmsException { public void joinCollaboration(String collaborationType, String meetingId) throws NetworkDisconnectedException, AcmsException {
joinMeetingId = Integer.parseInt(meetingId); joinMeetingId = Integer.parseInt(meetingId);
collaborationJoinFlg = ABookCommConstants.FLAG.COLLABORATION_JOIN_FLG.JOIN; collaborationJoinFlg = ABookCommConstants.FLAG.COLLABORATION_JOIN_FLG.JOIN;
AcmsClient. AcmsClient
getInstance(ABVEnvironment.getInstance().networkAdapter). .getInstance(ABVEnvironment.getInstance().networkAdapter)
joinCollaboration(sid, roomId.intValue()); .joinCollaboration(sid, roomId.intValue());
} }
public void joinChangedCollaboration(String collaborationType, String meetingId) throws NetworkDisconnectedException, AcmsException { public void joinChangedCollaboration(String collaborationType, String meetingId) throws NetworkDisconnectedException, AcmsException {
joinMeetingId = Integer.parseInt(meetingId); joinMeetingId = Integer.parseInt(meetingId);
collaborationJoinFlg = ABookCommConstants.FLAG.COLLABORATION_JOIN_FLG.JOIN; collaborationJoinFlg = ABookCommConstants.FLAG.COLLABORATION_JOIN_FLG.JOIN;
AcmsClient. AcmsClient
getInstance(ABVEnvironment.getInstance().networkAdapter). .getInstance(ABVEnvironment.getInstance().networkAdapter)
joinCollaboration(sid, roomId.intValue()); .joinCollaboration(sid, roomId.intValue());
} }
public void inviteCollaboration(String inviteUserIds, String collaborationType) throws NetworkDisconnectedException, AcmsException { public void inviteCollaboration(String inviteUserIds, String collaborationType) throws NetworkDisconnectedException, AcmsException {
AcmsClient. AcmsClient
getInstance(ABVEnvironment.getInstance().networkAdapter). .getInstance(ABVEnvironment.getInstance().networkAdapter)
inviteCollaboration(sid, roomId.intValue(), roomName, inviteUserIds, collaborationType); .inviteCollaboration(sid, roomId.intValue(), roomName, inviteUserIds, collaborationType);
} }
public void finishCollaboration() throws NetworkDisconnectedException, AcmsException { public void finishCollaboration() throws NetworkDisconnectedException, AcmsException {
AcmsClient. AcmsClient
getInstance(ABVEnvironment.getInstance().networkAdapter). .getInstance(ABVEnvironment.getInstance().networkAdapter)
finishCollaboration(sid, roomId.intValue()); .finishCollaboration(sid, roomId.intValue());
} }
public void finishAllCollaboration() throws NetworkDisconnectedException, AcmsException { public void finishAllCollaboration() throws NetworkDisconnectedException, AcmsException {
AcmsClient. try {
getInstance(ABVEnvironment.getInstance().networkAdapter). AcmsClient
finishAllCollaboration(sid, roomId.intValue()); .getInstance(ABVEnvironment.getInstance().networkAdapter)
.finishAllCollaboration(sid, roomId.intValue());
} catch (AcmsException e) {
e.printStackTrace();
}
} }
private void updateFavoriteUser() throws NetworkDisconnectedException, AcmsException { private void updateFavoriteUser() throws NetworkDisconnectedException, AcmsException {
GetFavoriteUserJSON resultJson = AcmsClient GetFavoriteUserJSON resultJson = AcmsClient
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment