Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / UdpChannelInitializer.java
index 518714403c2f3cb2d38212e05f4fb3314069c403..9ff7d65b4dcd073e7d84efd47b789da946680aeb 100644 (file)
@@ -1,32 +1,32 @@
-/*\r
- * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.openflowjava.protocol.impl.core;\r
-\r
-import io.netty.channel.socket.nio.NioDatagramChannel;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public class UdpChannelInitializer extends ProtocolChannelInitializer<NioDatagramChannel> {\r
-\r
-    @Override\r
-    protected void initChannel(NioDatagramChannel ch) throws Exception {\r
-        ch.pipeline().addLast(PipelineHandlers.OF_DATAGRAMPACKET_HANDLER.name(),\r
-                new OFDatagramPacketHandler(getSwitchConnectionHandler()));\r
-        OFDatagramPacketDecoder ofDatagramPacketDecoder = new OFDatagramPacketDecoder();\r
-        ofDatagramPacketDecoder.setDeserializationFactory(getDeserializationFactory());\r
-        ch.pipeline().addLast(PipelineHandlers.OF_DATAGRAMPACKET_DECODER.name(),\r
-                ofDatagramPacketDecoder);\r
-        OFDatagramPacketEncoder ofDatagramPacketEncoder = new OFDatagramPacketEncoder();\r
-        ofDatagramPacketEncoder.setSerializationFactory(getSerializationFactory());\r
-        ch.pipeline().addLast(PipelineHandlers.OF_ENCODER.name(), ofDatagramPacketEncoder);\r
-//        connectionFacade.fireConnectionReadyNotification();\r
-    }\r
+/*
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.opendaylight.openflowjava.protocol.impl.core;
+
+import io.netty.channel.socket.nio.NioDatagramChannel;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public class UdpChannelInitializer extends ProtocolChannelInitializer<NioDatagramChannel> {
+
+    @Override
+    protected void initChannel(NioDatagramChannel ch) throws Exception {
+        ch.pipeline().addLast(PipelineHandlers.OF_DATAGRAMPACKET_HANDLER.name(),
+                new OFDatagramPacketHandler(getSwitchConnectionHandler()));
+        OFDatagramPacketDecoder ofDatagramPacketDecoder = new OFDatagramPacketDecoder();
+        ofDatagramPacketDecoder.setDeserializationFactory(getDeserializationFactory());
+        ch.pipeline().addLast(PipelineHandlers.OF_DATAGRAMPACKET_DECODER.name(),
+                ofDatagramPacketDecoder);
+        OFDatagramPacketEncoder ofDatagramPacketEncoder = new OFDatagramPacketEncoder();
+        ofDatagramPacketEncoder.setSerializationFactory(getSerializationFactory());
+        ch.pipeline().addLast(PipelineHandlers.OF_ENCODER.name(), ofDatagramPacketEncoder);
+//        connectionFacade.fireConnectionReadyNotification();
+    }
 }
\ No newline at end of file