Package com.caucho.websocket

Examples of com.caucho.websocket.WebSocketContext


    String ipAddress = req.getRemoteAddr();
   
    WebSocketHandler handler
      = new WebSocketHandler(ipAddress);
   
    WebSocketContext webSocket = req.startWebSocket(handler);

    webSocket.setTimeout(30 * 60 * 1000L);
  }
View Full Code Here

TOP

Related Classes of com.caucho.websocket.WebSocketContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.