public class ProtobufDecoder extends Object implements WebSocketDecoder
| Constructor and Description |
|---|
ProtobufDecoder() |
| Modifier and Type | Method and Description |
|---|---|
WebSocketDecodeContext |
decodeMessage(io.netty.buffer.ByteBuf binary)
Decodes the common wrapper fields of an incoming web socket message.
|
<T extends com.google.protobuf.Message.Builder> |
decodeMessageData(WebSocketDecodeContext ctx,
T builder)
Decodes any data that may be wrapped by the incoming web socket message
|
public WebSocketDecodeContext decodeMessage(io.netty.buffer.ByteBuf binary) throws WebSocketException
WebSocketDecoderdecodeMessage in interface WebSocketDecoderWebSocketExceptionpublic <T extends com.google.protobuf.Message.Builder> T decodeMessageData(WebSocketDecodeContext ctx, T builder) throws WebSocketException
WebSocketDecoderdecodeMessageData in interface WebSocketDecoderWebSocketExceptionCopyright © 2018 Space Applications Services. All rights reserved.