Package org.yamcs.http.websocket
Interface WebSocketEncoder
-
- All Known Implementing Classes:
JsonEncoder
,ProtobufEncoder
public interface WebSocketEncoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends com.google.protobuf.Message>
io.netty.handler.codec.http.websocketx.WebSocketFrameencodeData(int sequenceNumber, org.yamcs.protobuf.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)
-
-
-
Method Detail
-
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, org.yamcs.protobuf.Yamcs.ProtoDataType dataType, T message) throws IOException
- Throws:
IOException
-
-