@InterfaceAudience.LimitedPrivate(value="Configuration") public class MessageCodec extends Object implements Codec
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MessageCodec.MessageDecoder |
(package private) static class |
MessageCodec.MessageEncoder |
Codec.Decoder, Codec.Encoder
Constructor and Description |
---|
MessageCodec() |
Modifier and Type | Method and Description |
---|---|
Codec.Decoder |
getDecoder(ByteBuff buf) |
Codec.Decoder |
getDecoder(InputStream is) |
Codec.Encoder |
getEncoder(OutputStream os) |
public MessageCodec()
public Codec.Decoder getDecoder(InputStream is)
getDecoder
in interface Codec
public Codec.Decoder getDecoder(ByteBuff buf)
getDecoder
in interface Codec
public Codec.Encoder getEncoder(OutputStream os)
getEncoder
in interface Codec
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.