org.elkoserver.foundation.net
Class WebSocketByteIOFramerFactory
java.lang.Object
org.elkoserver.foundation.net.WebSocketByteIOFramerFactory
- All Implemented Interfaces:
- ByteIOFramerFactory
public class WebSocketByteIOFramerFactory
- extends Object
- implements ByteIOFramerFactory
Byte I/O framer factory for WebSocket connections, a perverse hybrid of HTTP
and TCP.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
provideFramer
public ByteIOFramer provideFramer(MessageReceiver receiver,
String label)
- Provide an I/O framer for a new HTTP connection.
- Specified by:
provideFramer in interface ByteIOFramerFactory
- Parameters:
receiver - Object to deliver received messages to.label - A printable label identifying the associated connection.