org.atmosphere.samples.chat
Class ProtocolDecoder

java.lang.Object
  extended by org.atmosphere.samples.chat.ProtocolDecoder
All Implemented Interfaces:
org.atmosphere.config.managed.Decoder<String,ChatProtocol>

public class ProtocolDecoder
extends Object
implements org.atmosphere.config.managed.Decoder<String,ChatProtocol>

Decode a String into a ChatProtocol.


Constructor Summary
ProtocolDecoder()
           
 
Method Summary
 ChatProtocol decode(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolDecoder

public ProtocolDecoder()
Method Detail

decode

public ChatProtocol decode(String s)
Specified by:
decode in interface org.atmosphere.config.managed.Decoder<String,ChatProtocol>


Copyright © 2014. All Rights Reserved.