@Deprecated public class TransportCodec extends AbstractCodec
TelnetCodec and ExchangeCodec
both override all the methods declared in this class.Codec2.DecodeResult| 构造器和说明 |
|---|
TransportCodec()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
decode(Channel channel,
ChannelBuffer buffer)
已过时。
|
void |
encode(Channel channel,
ChannelBuffer buffer,
Object message)
已过时。
|
setFrameworkModelsetApplicationModel, setModuleModel, setScopeModelpublic void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException
IOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
IOExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.