public class ChatDecoder extends Object implements Decoder.Text<ChatMessage>
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>| Constructor and Description |
|---|
ChatDecoder() |
| Modifier and Type | Method and Description |
|---|---|
ChatMessage |
decode(String s) |
void |
destroy() |
void |
init(EndpointConfig config) |
boolean |
willDecode(String s) |
public ChatMessage decode(String s)
decode in interface Decoder.Text<ChatMessage>public boolean willDecode(String s)
willDecode in interface Decoder.Text<ChatMessage>public void init(EndpointConfig config)
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.