BUG-47 : removed PCEPMessage interface, switched to generated Message.
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / message / PCEPKeepAliveMessage.java
index 77a6e85264d76ad2e10f9504577fee566903a426..d9f36005eb1dd2c45daa8404c6e9f1dbf65bdd93 100644 (file)
@@ -7,26 +7,19 @@
  */
 package org.opendaylight.protocol.pcep.message;
 
-import java.util.Collections;
-
-import org.opendaylight.protocol.pcep.PCEPMessage;
-import org.opendaylight.protocol.pcep.PCEPObject;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.Message;
 
 /**
  * Structure of Keepalive Message
- *
- * @see <a href="http://tools.ietf.org/html/rfc5440#section-6.3">KeepAlive
- *      Message</a>
+ * 
+ * @see <a href="http://tools.ietf.org/html/rfc5440#section-6.3">KeepAlive Message</a>
  */
-public final class PCEPKeepAliveMessage extends PCEPMessage {
-
-       private static final long serialVersionUID = 8133032616718362219L;
+public final class PCEPKeepAliveMessage implements Message {
 
        /**
         * Default constructor PCEPKeepAliveMessage.
         */
        public PCEPKeepAliveMessage() {
-               super(Collections.<PCEPObject> emptyList());
        }
 
        @Override