tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1245246 - in /tomcat/trunk: java/org/apache/catalina/websocket/StreamInbound.java webapps/examples/WEB-INF/classes/websocket/EchoStream.java
Date Thu, 16 Feb 2012 23:18:31 GMT
Author: markt
Date: Thu Feb 16 23:18:30 2012
New Revision: 1245246

URL: http://svn.apache.org/viewvc?rev=1245246&view=rev
Log:
Rename

Modified:
    tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/EchoStream.java

Modified: tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java?rev=1245246&r1=1245245&r2=1245246&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java (original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java Thu Feb 16 23:18:30
2012
@@ -56,7 +56,7 @@ public abstract class StreamInbound impl
         this.processor = processor;
     }
 
-    public WsOutbound getStreamOutbound() {
+    public WsOutbound getOutbound() {
         return outbound;
     }
 

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/EchoStream.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/EchoStream.java?rev=1245246&r1=1245245&r2=1245246&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/EchoStream.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/EchoStream.java Thu Feb 16 23:18:30
2012
@@ -39,7 +39,7 @@ public class EchoStream extends WebSocke
         @Override
         protected void onBinaryData(InputStream is) throws IOException {
             // Simply echo the data to back to the client.
-            WsOutbound outbound = getStreamOutbound();
+            WsOutbound outbound = getOutbound();
 
             int i = is.read();
             while (i != -1) {
@@ -53,7 +53,7 @@ public class EchoStream extends WebSocke
         @Override
         protected void onTextData(Reader r) throws IOException {
             // Simply echo the data to back to the client.
-            WsOutbound outbound = getStreamOutbound();
+            WsOutbound outbound = getOutbound();
 
             int c = r.read();
             while (c != -1) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message