public class MyProtocolCodecFactory extends Object implements ProtocolCodecFactory
Constructor and Description |
---|
MyProtocolCodecFactory() |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
getDecoder(IoSession sessionIn) |
ProtocolEncoder |
getEncoder(IoSession sessionIn) |
public ProtocolDecoder getDecoder(IoSession sessionIn) throws Exception
getDecoder
in interface ProtocolCodecFactory
Exception
public ProtocolEncoder getEncoder(IoSession sessionIn) throws Exception
getEncoder
in interface ProtocolCodecFactory
Exception
Copyright © 2004–2018 Apache MINA Project. All rights reserved.