public class ExchangeCodec extends TelnetCodec
Codec2.DecodeResult| 构造器和说明 |
|---|
ExchangeCodec() |
public Short getMagicCode()
public void encode(Channel channel, ChannelBuffer buffer, Object msg) throws IOException
encode 在接口中 Codec2encode 在类中 TelnetCodecIOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
decode 在接口中 Codec2decode 在类中 TelnetCodecIOExceptionCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.