From a58331a3e89661acc442a987f7b269f633b091ec Mon Sep 17 00:00:00 2001 From: Rodrigo Prestes Machado Date: Wed, 23 Nov 2016 11:34:37 -0200 Subject: [PATCH] #18 --- src/edu/ifrs/soundChat/model/InputMessage.java | 2 +- src/edu/ifrs/soundChat/model/OutputMessage.java | 2 +- src/edu/ifrs/soundChat/model/TextMessage.java | 2 +- src/edu/ifrs/soundChat/model/Type.java | 2 +- src/edu/ifrs/soundChat/model/User.java | 2 +- src/edu/ifrs/soundChat/ws/SoundChatWS.java | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/edu/ifrs/soundChat/model/InputMessage.java b/src/edu/ifrs/soundChat/model/InputMessage.java index 33f5ae0..7aed801 100755 --- a/src/edu/ifrs/soundChat/model/InputMessage.java +++ b/src/edu/ifrs/soundChat/model/InputMessage.java @@ -1,6 +1,6 @@ /** * @license - * Copyright 2015, Rodrigo Prestes Machado + * Copyright 2016, Rodrigo Prestes Machado * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/edu/ifrs/soundChat/model/OutputMessage.java b/src/edu/ifrs/soundChat/model/OutputMessage.java index da010e3..2d64d2c 100755 --- a/src/edu/ifrs/soundChat/model/OutputMessage.java +++ b/src/edu/ifrs/soundChat/model/OutputMessage.java @@ -1,6 +1,6 @@ /** * @license - * Copyright 2015, Rodrigo Prestes Machado + * Copyright 2016, Rodrigo Prestes Machado * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/edu/ifrs/soundChat/model/TextMessage.java b/src/edu/ifrs/soundChat/model/TextMessage.java index e224c75..a0b6f7a 100755 --- a/src/edu/ifrs/soundChat/model/TextMessage.java +++ b/src/edu/ifrs/soundChat/model/TextMessage.java @@ -1,6 +1,6 @@ /** * @license - * Copyright 2015, Rodrigo Prestes Machado + * Copyright 2016, Rodrigo Prestes Machado * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/edu/ifrs/soundChat/model/Type.java b/src/edu/ifrs/soundChat/model/Type.java index 66f429e..e55624b 100755 --- a/src/edu/ifrs/soundChat/model/Type.java +++ b/src/edu/ifrs/soundChat/model/Type.java @@ -1,6 +1,6 @@ /** * @license - * Copyright 2015, Rodrigo Prestes Machado + * Copyright 2016, Rodrigo Prestes Machado * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/edu/ifrs/soundChat/model/User.java b/src/edu/ifrs/soundChat/model/User.java index 48bd42e..1e4fd7a 100755 --- a/src/edu/ifrs/soundChat/model/User.java +++ b/src/edu/ifrs/soundChat/model/User.java @@ -1,6 +1,6 @@ /** * @license - * Copyright 2015, Rodrigo Prestes Machado + * Copyright 2016, Rodrigo Prestes Machado * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/edu/ifrs/soundChat/ws/SoundChatWS.java b/src/edu/ifrs/soundChat/ws/SoundChatWS.java index d3afaba..bd2f252 100755 --- a/src/edu/ifrs/soundChat/ws/SoundChatWS.java +++ b/src/edu/ifrs/soundChat/ws/SoundChatWS.java @@ -1,6 +1,6 @@ /** * @license - * Copyright 2015, Rodrigo Prestes Machado + * Copyright 2016, Rodrigo Prestes Machado * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -126,7 +126,7 @@ public void onClose(Session session) { users.remove(user); OutputMessage out = new OutputMessage(); - out.setType("ackConnect"); + out.setType("ACK_CONNECT"); out.addData("size", String.valueOf(users.size())); out.addData("users", gson.toJson(users));