org.elkoserver.foundation.net
Interface ByteIOFramerFactory

All Known Implementing Classes:
HTTPRequestByteIOFramerFactory, JSONByteIOFramerFactory, RTCPRequestByteIOFramerFactory, WebSocketByteIOFramerFactory

public interface ByteIOFramerFactory

Interface supporting protocol-specific message framing on a connection, to frame inchoate streams of bytes into processable units.


Method Summary
 ByteIOFramer provideFramer(MessageReceiver receiver, String label)
          Provide an I/O framer for a new connection.
 

Method Detail

provideFramer

ByteIOFramer provideFramer(MessageReceiver receiver,
                           String label)
Provide an I/O framer for a new connection.

Parameters:
receiver - Object to deliver received messages to.
label - A printable label identifying the associated connection.