org.elkoserver.foundation.net
Class WebSocketByteIOFramerFactory

java.lang.Object
  extended by 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.


Method Summary
 ByteIOFramer provideFramer(MessageReceiver receiver, String label)
          Provide an I/O framer for a new HTTP connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.