public class PongMessageDecoder extends AbstractDecoder implements Decoder.Binary<PongMessage>
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
Constructor and Description |
---|
PongMessageDecoder() |
Modifier and Type | Method and Description |
---|---|
PongMessage |
decode(ByteBuffer bytes) |
boolean |
willDecode(ByteBuffer bytes) |
destroy, init
public PongMessage decode(ByteBuffer bytes) throws DecodeException
decode
in interface Decoder.Binary<PongMessage>
DecodeException
public boolean willDecode(ByteBuffer bytes)
willDecode
in interface Decoder.Binary<PongMessage>
Copyright © 1995-2015 Webtide. All Rights Reserved.