org.glassfish.tyrus.sample.chat.chatdata
Class ChatUpdateDecoder

java.lang.Object
  extended by org.glassfish.tyrus.sample.chat.chatdata.ChatUpdateDecoder
All Implemented Interfaces:
Decoder, Decoder.Text<ChatUpdateMessage>

public class ChatUpdateDecoder
extends Object
implements Decoder.Text<ChatUpdateMessage>

Author:
Danny Coward (danny.coward at oracle.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.websocket.Decoder
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
 
Constructor Summary
ChatUpdateDecoder()
           
 
Method Summary
 ChatUpdateMessage decode(String s)
           
 boolean willDecode(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatUpdateDecoder

public ChatUpdateDecoder()
Method Detail

decode

public ChatUpdateMessage decode(String s)
Specified by:
decode in interface Decoder.Text<ChatUpdateMessage>

willDecode

public boolean willDecode(String s)
Specified by:
willDecode in interface Decoder.Text<ChatUpdateMessage>


Copyright © 2012. All Rights Reserved.