Package org.yamcs.http.websocket
Interface WebSocketEncoder
- All Known Implementing Classes:
JsonEncoder
public interface WebSocketEncoder
-
Method Summary
Modifier and TypeMethodDescription<T extends com.google.protobuf.Message>
io.netty.handler.codec.http.websocketx.WebSocketFrameencodeData
(int sequenceNumber, Yamcs.ProtoDataType dataType, T message) io.netty.handler.codec.http.websocketx.WebSocketFrame
io.netty.handler.codec.http.websocketx.WebSocketFrame
encodeReply
(WebSocketReply reply)
-
Method Details
-
encodeReply
io.netty.handler.codec.http.websocketx.WebSocketFrame encodeReply(WebSocketReply reply) throws IOException - Throws:
IOException
-
encodeException
io.netty.handler.codec.http.websocketx.WebSocketFrame encodeException(WebSocketException e) throws IOException - Throws:
IOException
-
encodeData
<T extends com.google.protobuf.Message> io.netty.handler.codec.http.websocketx.WebSocketFrame encodeData(int sequenceNumber, Yamcs.ProtoDataType dataType, T message) throws IOException - Throws:
IOException
-