com.alibaba.dubbo.remoting.transport.codec
Class TransportCodec
java.lang.Object
com.alibaba.dubbo.remoting.transport.AbstractCodec
com.alibaba.dubbo.remoting.transport.codec.TransportCodec
- All Implemented Interfaces:
- Codec2
- Direct Known Subclasses:
- TelnetCodec
public class TransportCodec
- extends AbstractCodec
TransportCodec
- Author:
- william.liangf
TransportCodec
public TransportCodec()
encode
public void encode(Channel channel,
ChannelBuffer buffer,
Object message)
throws IOException
- Throws:
IOException
decode
public Object decode(Channel channel,
ChannelBuffer buffer)
throws IOException
- Throws:
IOException
Copyright © 2012–2017 Alibaba. All rights reserved.