org.atmosphere.wasync.decoder
Class TrackMessageSizeDecoder
java.lang.Object
org.atmosphere.wasync.decoder.TrackMessageSizeDecoder
- All Implemented Interfaces:
- Decoder<String,List<?>>, ReplayDecoder
public class TrackMessageSizeDecoder
- extends Object
- implements ReplayDecoder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackMessageSizeDecoder
public TrackMessageSizeDecoder()
TrackMessageSizeDecoder
public TrackMessageSizeDecoder(boolean protocolEnabled)
TrackMessageSizeDecoder
public TrackMessageSizeDecoder(String delimiter,
boolean protocolEnabled)
decode
public List<String> decode(Event 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 - Eventmessage - a object of type U
- Returns:
- a List of Object
Copyright © 2013. All Rights Reserved.