org.atmosphere.wasync
Interface ReplayDecoder

All Superinterfaces:
Decoder<java.lang.String,java.util.List<?>>
All Known Implementing Classes:
TrackMessageSizeDecoder

public interface ReplayDecoder
extends Decoder<java.lang.String,java.util.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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.atmosphere.wasync.Decoder
Decoder.Decoded<T>
 
Method Summary
 java.util.List<?> decode(Event e, java.lang.String s)
          Decode a String into a List of Objects.
 

Method Detail

decode

java.util.List<?> decode(Event e,
                         java.lang.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<java.lang.String,java.util.List<?>>
Parameters:
e - Event
s - a object of type U
Returns:
a List of Object


Copyright © 2014. All Rights Reserved.