Renamed packages to org.opendaylight.openflowjava.protocol.impl.*
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / TlsDetector.java
similarity index 92%
rename from openflow-protocol-impl/src/main/java/org/openflow/lib/TlsDetector.java
rename to openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/TlsDetector.java
index cfd5025cdff928b5d3b1b51345a7994d3fbea3ae..2640626be6917d7f2f7f6beef57912af95593103 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
-package org.openflow.lib;
+package org.opendaylight.openflowjava.protocol.impl.core;
 
 import io.netty.buffer.ByteBuf;
 import io.netty.channel.ChannelHandlerContext;
@@ -13,8 +13,8 @@ import javax.net.ssl.SSLEngine;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.openflow.lib.TcpHandler.COMPONENT_NAMES;
-import org.openflow.util.ByteBufUtils;
+import org.opendaylight.openflowjava.protocol.impl.core.TcpHandler.COMPONENT_NAMES;
+import org.opendaylight.openflowjava.protocol.impl.util.ByteBufUtils;
 
 /**
  * Class for detecting TLS encrypted connection. If TLS encrypted connection is detected,
@@ -68,7 +68,7 @@ public class TlsDetector extends ByteToMessageDecoder {
         ChannelPipeline p = ctx.channel().pipeline();
         if (p.get(COMPONENT_NAMES.OF_FRAME_DECODER.name()) == null) {
             LOGGER.debug("Engaging OFFrameDecoder");
-            p.addLast(COMPONENT_NAMES.OF_FRAME_DECODER.name(), new OfFrameDecoder());
+            p.addLast(COMPONENT_NAMES.OF_FRAME_DECODER.name(), new OFFrameDecoder());
         } else {
             LOGGER.debug("OFFD already in pipeline");
         }