org.apache.wicket.protocol.ws.tomcat7
Class TomcatWebSocketConnection
java.lang.Object
org.apache.wicket.protocol.ws.api.AbstractWebSocketConnection
org.apache.wicket.protocol.ws.tomcat7.TomcatWebSocketConnection
- All Implemented Interfaces:
- IWebSocketConnection
public class TomcatWebSocketConnection
- extends AbstractWebSocketConnection
* A wrapper around Tomcat's native WsOutbound
- Since:
- 6.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatWebSocketConnection
public TomcatWebSocketConnection(org.apache.catalina.websocket.WsOutbound connection,
AbstractWebSocketProcessor webSocketProcessor)
isOpen
public boolean isOpen()
close
public void close(int code,
String reason)
sendMessage
public IWebSocketConnection sendMessage(String message)
throws IOException
- Throws:
IOException
sendMessage
public TomcatWebSocketConnection sendMessage(byte[] message,
int offset,
int length)
throws IOException
- Throws:
IOException
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.