org.atmosphere.wasync.decoder
Class TrackMessageSizeDecoder

java.lang.Object
  extended by org.atmosphere.wasync.decoder.TrackMessageSizeDecoder
All Implemented Interfaces:
Decoder<String,List<?>>, ReplayDecoder

public class TrackMessageSizeDecoder
extends Object
implements ReplayDecoder


Constructor Summary
TrackMessageSizeDecoder()
           
TrackMessageSizeDecoder(String delimiter)
           
 
Method Summary
 List<String> decode(Transport.EVENT_TYPE type, String message)
          Decode a String into a List of Objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackMessageSizeDecoder

public TrackMessageSizeDecoder()

TrackMessageSizeDecoder

public TrackMessageSizeDecoder(String delimiter)
Method Detail

decode

public List<String> decode(Transport.EVENT_TYPE type,
                           String message)
Description copied from interface: ReplayDecoder
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<?>>
Specified by:
decode in interface ReplayDecoder
Parameters:
type - Transport.EVENT_TYPE
message - a object of type U
Returns:
a List of Object


Copyright © 2013. All Rights Reserved.