public class ProtobufEncoder extends Object implements WebSocketEncoder
| Constructor and Description |
|---|
ProtobufEncoder(io.netty.channel.ChannelHandlerContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
<T> io.netty.handler.codec.http.websocketx.WebSocketFrame |
encodeData(int sequenceNumber,
Yamcs.ProtoDataType dataType,
T message,
io.protostuff.Schema<T> schema) |
io.netty.handler.codec.http.websocketx.WebSocketFrame |
encodeException(WebSocketException e) |
io.netty.handler.codec.http.websocketx.WebSocketFrame |
encodeReply(Web.WebSocketServerMessage.WebSocketReplyData 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(Web.WebSocketServerMessage.WebSocketReplyData reply) throws IOException
encodeReply in interface WebSocketEncoderIOExceptionpublic <T> io.netty.handler.codec.http.websocketx.WebSocketFrame encodeData(int sequenceNumber,
Yamcs.ProtoDataType dataType,
T message,
io.protostuff.Schema<T> schema)
throws IOException
encodeData in interface WebSocketEncoderIOExceptionCopyright © 2017 Space Applications Services. All rights reserved.