Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / connection / UdpMessageListenerWrapper.java
index 56d004bdc51e13693a5888ad757ca3af4b1060db..a946cf5468be6a033272ff15c01d469e16a1d93a 100644 (file)
@@ -1,45 +1,45 @@
-/*\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.connection;\r
-\r
-import io.netty.util.concurrent.Future;\r
-import io.netty.util.concurrent.GenericFutureListener;\r
-\r
-import java.net.InetSocketAddress;\r
-\r
-/**\r
- * Wraps outgoing message and includes listener attached to this message. This object\r
- * is sent to OFEncoder. When OFEncoder fails to serialize the message,\r
- * listener is filled with exception. The exception is then delegated to upper ODL layers.\r
- * This object is used for UDP communication - it also carries recipient address\r
\r
- * @author michal.polkorab\r
- */\r
-public class UdpMessageListenerWrapper extends MessageListenerWrapper {\r
-\r
-    private InetSocketAddress address;\r
-\r
-    /**\r
-     * @param msg message to be sent\r
-     * @param listener listener attached to channel.write(msg) Future\r
-     * @param address recipient's address\r
-     */\r
-    public UdpMessageListenerWrapper(Object msg, GenericFutureListener<Future<Void>> listener,\r
-            InetSocketAddress address) {\r
-        super(msg, listener);\r
-        this.address = address;\r
-    }\r
-\r
-    /**\r
-     * @return recipient address\r
-     */\r
-    public InetSocketAddress getAddress() {\r
-        return address;\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.connection;
+
+import io.netty.util.concurrent.Future;
+import io.netty.util.concurrent.GenericFutureListener;
+
+import java.net.InetSocketAddress;
+
+/**
+ * Wraps outgoing message and includes listener attached to this message. This object
+ * is sent to OFEncoder. When OFEncoder fails to serialize the message,
+ * listener is filled with exception. The exception is then delegated to upper ODL layers.
+ * This object is used for UDP communication - it also carries recipient address
+ * @author michal.polkorab
+ */
+public class UdpMessageListenerWrapper extends MessageListenerWrapper {
+
+    private InetSocketAddress address;
+
+    /**
+     * @param msg message to be sent
+     * @param listener listener attached to channel.write(msg) Future
+     * @param address recipient's address
+     */
+    public UdpMessageListenerWrapper(Object msg, GenericFutureListener<Future<Void>> listener,
+            InetSocketAddress address) {
+        super(msg, listener);
+        this.address = address;
+    }
+
+    /**
+     * @return recipient address
+     */
+    public InetSocketAddress getAddress() {
+        return address;
+    }
 }
\ No newline at end of file