public class PaddingAndHeartbeatDecoder extends Object implements Decoder<String,Decoder.Decoded<String>>
Decoder.Decoded<T>| Constructor and Description |
|---|
PaddingAndHeartbeatDecoder() |
PaddingAndHeartbeatDecoder(int paddingSize,
String heartbeatChar) |
| Modifier and Type | Method and Description |
|---|---|
Decoder.Decoded<String> |
decode(Event type,
String message)
Decode the specified object of type U into object of type T.
|
public PaddingAndHeartbeatDecoder()
public PaddingAndHeartbeatDecoder(int paddingSize,
String heartbeatChar)
public Decoder.Decoded<String> decode(Event type, String message)
DecoderCopyright © 2017. All Rights Reserved.