There is no sensible way to use a custom version of APC, so protected
access does not help in any way to access the underlying resource and/or
connected UI.
}
/**
- * @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;
}