-/*\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.buffer.ByteBuf;\r
-\r
-import java.net.InetSocketAddress;\r
-\r
-/**\r
- * Wraps received messages (includes version) and sender address\r
- \r
- * @author michal.polkorab\r
- */\r
-public class VersionMessageUdpWrapper extends VersionMessageWrapper {\r
-\r
- private InetSocketAddress address;\r
-\r
- /**\r
- * @param version Openflow wire version\r
- * @param messageBuffer ByteBuf containing binary message\r
- * @param address sender address\r
- */\r
- public VersionMessageUdpWrapper(short version, ByteBuf messageBuffer, InetSocketAddress address) {\r
- super(version, messageBuffer);\r
- this.address = address;\r
- }\r
-\r
- /**\r
- * @return sender 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;
+
+import io.netty.buffer.ByteBuf;
+
+import java.net.InetSocketAddress;
+
+/**
+ * Wraps received messages (includes version) and sender address
+
+ * @author michal.polkorab
+ */
+public class VersionMessageUdpWrapper extends VersionMessageWrapper {
+
+ private InetSocketAddress address;
+
+ /**
+ * @param version Openflow wire version
+ * @param messageBuffer ByteBuf containing binary message
+ * @param address sender address
+ */
+ public VersionMessageUdpWrapper(short version, ByteBuf messageBuffer, InetSocketAddress address) {
+ super(version, messageBuffer);
+ this.address = address;
+ }
+
+ /**
+ * @return sender address
+ */
+ public InetSocketAddress getAddress() {
+ return address;
+ }
}
\ No newline at end of file