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