org.atmosphere.wasync
Interface ReplayDecoder

All Superinterfaces:
Decoder<String,List<?>>
All Known Implementing Classes:
TrackMessageSizeDecoder

public interface ReplayDecoder
extends Decoder<String,List<?>>

A Decoder that always return a List of message to be dispatched one by one to the remaining list of Decoder.

Author:
Jeanfrancois Arcand

Method Summary
 List<?> decode(Transport.EVENT_TYPE e, String s)
          Decode a String into a List of Objects.
 

Method Detail

decode

List<?> decode(Transport.EVENT_TYPE e,
               String s)
Decode a String into a List of Objects. Each element of the List will be dispatched to the decoders that where added after an implementation of that interface.

Specified by:
decode in interface Decoder<String,List<?>>
Parameters:
e - Transport.EVENT_TYPE
s - a object of type U
Returns:
a List of Object


Copyright © 2013. All Rights Reserved.