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

public class ChatUpdateDecoder
extends Object
implements Decoder.Text

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.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

willDecode

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


Copyright © 2012. All Rights Reserved.