Browse Source

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.
tags/8.1.0.rc2
Andrew Spear 6 years ago
parent
commit
6c61a9797c

+ 1
- 1
server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java View File

* @param message * @param message
* The message to send * The message to send
*/ */
void sendMessage(String message) {
protected void sendMessage(String message) {
assert (isConnected()); assert (isConnected());
// "Broadcast" the changes to the single client only // "Broadcast" the changes to the single client only
outgoingMessage = getResource().getBroadcaster().broadcast(message, outgoingMessage = getResource().getBroadcaster().broadcast(message,

Loading…
Cancel
Save