aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAndrew Spear <afspear@gmail.com>2017-07-17 06:03:07 -0500
committerHenri Sara <henri.sara@gmail.com>2017-07-17 14:03:07 +0300
commit6c61a9797ce364cc706eb468605512b7d6d537cd (patch)
treede263ad9d8d432a2c8793a363245cc0133fa1004 /server
parent26119ae73147cc57801bb4f6ec3481686bcd703f (diff)
downloadvaadin-framework-6c61a9797ce364cc706eb468605512b7d6d537cd.tar.gz
vaadin-framework-6c61a9797ce364cc706eb468605512b7d6d537cd.zip
Change sendMessage access modifier to protected. (#9622)
This allows extending AtmospherePushConnection, and then doing overriding sendMessage. One use case is to correlate the IP address and the message in the logs.
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java b/server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java
index b5a6f55e4c..b60cca189d 100644
--- a/server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java
+++ b/server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java
@@ -180,7 +180,7 @@ public class AtmospherePushConnection implements PushConnection {
* @param message
* The message to send
*/
- void sendMessage(String message) {
+ protected void sendMessage(String message) {
assert (isConnected());
// "Broadcast" the changes to the single client only
outgoingMessage = getResource().getBroadcaster().broadcast(message,