List of usage examples for io.netty.handler.codec ByteToMessageDecoder subclass-usage
From source file org.opendaylight.netconf.nettyutil.handler.NetconfXMLToHelloMessageDecoder.java
/**
* Customized NetconfXMLToMessageDecoder that reads additional header with
* session metadata from
* {@link NetconfHelloMessage}
*
*
From source file org.opendaylight.netconf.nettyutil.handler.NetconfXMLToMessageDecoder.java
public final class NetconfXMLToMessageDecoder extends ByteToMessageDecoder { private static final Logger LOG = LoggerFactory.getLogger(NetconfXMLToMessageDecoder.class); @Override public void decode(final ChannelHandlerContext ctx, final ByteBuf in, final List<Object> out) throws IOException, SAXException {
From source file org.opendaylight.ocpjava.protocol.impl.clients.SimpleClientFramer.java
/** * Class for decoding incoming messages into message frames. * * @author Marko Lai <marko.ch.lai@foxconn.com> */ public class SimpleClientFramer extends ByteToMessageDecoder {
From source file org.opendaylight.ocpjava.protocol.impl.core.DummyDecoder.java
/** * @author michal.polkorab * */ public class DummyDecoder extends ByteToMessageDecoder {
From source file org.opendaylight.ocpjava.protocol.impl.core.OCPXmlDecoder.java
public class OCPXmlDecoder extends ByteToMessageDecoder { private static final Logger LOG = LoggerFactory.getLogger(OCPXmlDecoder.class); private static final XMLInputFactory factory = XMLInputFactory.newFactory(); private List<Object> out; private String buf = "";
From source file org.opendaylight.openflowjava.protocol.impl.clients.SimpleClientFramer.java
/** * Class for decoding incoming messages into message frames. * * @author michal.polkorab */ public class SimpleClientFramer extends ByteToMessageDecoder {
From source file org.opendaylight.openflowjava.protocol.impl.core.DummyDecoder.java
/** * @author michal.polkorab * */ public class DummyDecoder extends ByteToMessageDecoder {
From source file org.opendaylight.openflowjava.protocol.impl.core.OFFrameDecoder.java
/** * Decodes incoming messages into message frames. * @author michal.polkorab */ public class OFFrameDecoder extends ByteToMessageDecoder {
From source file org.opendaylight.openflowjava.protocol.impl.core.OFVersionDetector.java
/** * Detects version of used OpenFlow Protocol and discards unsupported version messages * @author michal.polkorab */ public class OFVersionDetector extends ByteToMessageDecoder {
From source file org.opendaylight.openflowjava.protocol.impl.core.TlsDetector.java
/**
* Class for detecting TLS encrypted connection. If TLS encrypted connection is detected,
* TLSDetector engages SSLHandler and OFFrameDecoder into pipeline else it engages only
* OFFrameDecoder.
*
* @author michal.polkorab