Back to project page android_opengles.
The source code is released under:
MIT License
If you think the Android project android_opengles listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package fi.iki.elonen.samples.echo; //from w ww.jav a 2 s.co m import fi.iki.elonen.NanoWebSocketServer; import fi.iki.elonen.WebSocket; /** * @author Paul S. Hawke (paul.hawke@gmail.com) * On: 4/23/14 at 10:31 PM */ class DebugWebSocketServer extends NanoWebSocketServer { private final boolean debug; public DebugWebSocketServer(int port, boolean debug) { super(port); this.debug = debug; } @Override public WebSocket openWebSocket(IHTTPSession handshake) { return new DebugWebSocket(handshake, debug); } }