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
decode
List<?> decode(Event 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 - Events - a object of type U
- Returns:
- a List of Object
Copyright © 2013. All Rights Reserved.