summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java14
1 files changed, 9 insertions, 5 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 a5f785b0a8..bbab0f96c5 100644
--- a/server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java
+++ b/server/src/main/java/com/vaadin/server/communication/AtmospherePushConnection.java
@@ -258,17 +258,21 @@ public class AtmospherePushConnection implements PushConnection {
}
/**
- * @return the UI associated with this connection.
+ * Gets the UI this push connection is associated with.
+ *
+ * @return the UI associated with this connection
*/
- protected UI getUI() {
+ public UI getUI() {
return ui;
}
/**
- * @return The AtmosphereResource associated with this connection or null if
- * connection not open.
+ * Gets the atmosphere resource associated with this connection.
+ *
+ * @return The AtmosphereResource associated with this connection or
+ * <code>null</code> if the connection is not open.
*/
- protected AtmosphereResource getResource() {
+ public AtmosphereResource getResource() {
return resource;
}