com.alibaba.dubbo.remoting
Interface Codec2
- All Known Implementing Classes:
- AbstractCodec, CodecAdapter, DubboCodec, DubboCountCodec, ExchangeCodec, TelnetCodec, ThriftCodec, ThriftNativeCodec, TransportCodec
@SPI
public interface Codec2
- Author:
- kimi
encode
@Adaptive(value="codec")
void encode(Channel channel,
ChannelBuffer buffer,
Object message)
throws IOException
- Throws:
IOException
decode
@Adaptive(value="codec")
Object decode(Channel channel,
ChannelBuffer buffer)
throws IOException
- Throws:
IOException
Copyright © 2012–2017 Alibaba. All rights reserved.