* 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
-package org.opendaylight.openflowjava.protocol.impl.deserialization;\r
+package org.opendaylight.openflowjava.protocol.api.extensibility;\r
\r
-import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey;\r
-import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistry;\r
\r
/**\r
* More specific key for {@link SerializerRegistry}\r
this.msgType2 = msgType2;\r
}\r
\r
- /**\r
- * @return more specific type\r
- */\r
- public Class<F> getMsgType2() {\r
- return msgType2;\r
- }\r
-\r
@Override\r
public boolean equals(Object obj) {\r
if (this == obj)\r
if (msgType2 == null) {\r
if (other.msgType2 != null)\r
return false;\r
- } else if (!msgType2.equals(other.msgType2))\r
+ } else if (!msgType2.getName().equals(other.msgType2.getName()))\r
return false;\r
return true;\r
}\r