org.atmosphere.samples.chat
Class UserDecoder

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

public class UserDecoder
extends Object
implements org.atmosphere.config.managed.Decoder<String,UserMessage>

Decode a String into a UserMessage.


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

Constructor Detail

UserDecoder

public UserDecoder()
Method Detail

decode

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


Copyright © 2014. All Rights Reserved.