Skip to content

Commit

Permalink
- add a bit of logging so we can see if validate token succeeded or not
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Sep 4, 2015
1 parent 53ff396 commit 96f1717
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ private void processValidateAuthTokenReply(ValidateAuthTokenReplyMessage msg) {
Gson gson = new Gson();
message.put("msg", gson.toJson(args));

log.info("validateAuthTokenReply - " + gson.toJson(args));
DirectClientMessage m = new DirectClientMessage(msg.meetingId, msg.userId, "validateAuthTokenReply", message);
service.sendMessage(m);
}
Expand All @@ -241,6 +242,7 @@ private void processValidateAuthTokenTimeoutMessage(ValidateAuthTokenTimeoutMess
Gson gson = new Gson();
message.put("msg", gson.toJson(args));

log.info("validateAuthTokenTimedOut - " + gson.toJson(args));
DirectClientMessage m = new DirectClientMessage(msg.meetingId, msg.userId, "validateAuthTokenTimedOut", message);
service.sendMessage(m);
}
Expand All @@ -267,6 +269,8 @@ private void processUserJoinedMessage(UserJoinedMessage msg) {

String userId = msg.user.get("userId").toString();

log.info("joinMeetingReply - " + gson.toJson(args));

DirectClientMessage jmr = new DirectClientMessage(msg.meetingId, userId, "joinMeetingReply", message);
service.sendMessage(jmr);

Expand Down

0 comments on commit 96f1717

Please sign in to comment.