Author: markt Date: Tue Jan 22 10:05:03 2013 New Revision: 1436826 URL: http://svn.apache.org/viewvc?rev=1436826&view=rev Log: onWritePossible() is a server specific method
Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointClient.java Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointClient.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointClient.java?rev=1436826&r1=1436825&r2=1436826&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointClient.java (original) +++ tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointClient.java Tue Jan 22 10:05:03 2013 @@ -17,27 +17,21 @@ package org.apache.tomcat.websocket; import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousSocketChannel; public class WsRemoteEndpointClient extends WsRemoteEndpointBase { - @Override - public void onWritePossible() { - // TODO Auto-generated method stub + private final AsynchronousSocketChannel channel; + public WsRemoteEndpointClient(AsynchronousSocketChannel channel) { + this.channel = channel; } + @Override protected void writeMessage(int opCode, ByteBuffer header, ByteBuffer message) { // TODO Auto-generated method stub } - - /** - * @param args - */ - public static void main(String[] args) { - // TODO Auto-generated method stub - - } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org