public class ProtobufEncoder extends Object implements WebSocketEncoder
| Constructor and Description |
|---|
ProtobufEncoder(io.netty.channel.ChannelHandlerContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.google.protobuf.Message> |
encodeData(int sequenceNumber,
Yamcs.ProtoDataType dataType,
T message) |
io.netty.handler.codec.http.websocketx.WebSocketFrame |
encodeException(WebSocketException e) |
io.netty.handler.codec.http.websocketx.WebSocketFrame |
encodeReply(WebSocketReply reply) |
public ProtobufEncoder(io.netty.channel.ChannelHandlerContext ctx)
public io.netty.handler.codec.http.websocketx.WebSocketFrame encodeException(WebSocketException e) throws IOException
encodeException in interface WebSocketEncoderIOExceptionpublic io.netty.handler.codec.http.websocketx.WebSocketFrame encodeReply(WebSocketReply reply) throws IOException
encodeReply in interface WebSocketEncoderIOExceptionpublic <T extends com.google.protobuf.Message> io.netty.handler.codec.http.websocketx.WebSocketFrame encodeData(int sequenceNumber,
Yamcs.ProtoDataType dataType,
T message)
throws IOException
encodeData in interface WebSocketEncoderIOExceptionCopyright © 2018 Space Applications Services. All rights reserved.