Changes for config subsystem and abstract decoder.
[l2switch.git] / packethandler / implementation / src / main / java / org / opendaylight / l2switch / packethandler / decoders / PacketDecoderService.java
index f89cafa346ba66ddccf360bcd72b51b9646a7b4d..98d606ab35140f636ba6070b2283a2d34672c096 100644 (file)
@@ -1,12 +1,12 @@
 package org.opendaylight.l2switch.packethandler.decoders;
 
 import org.opendaylight.controller.sal.binding.api.BindingAwareService;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.ethernet.rev140528.KnownEtherType;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.basepacket.rev140528.packet.PacketPayloadType;
 import org.opendaylight.yangtools.yang.binding.Notification;
 
 /**
  * Created by amitmandke on 6/4/14.
  */
 public interface PacketDecoderService extends BindingAwareService {
-  public <C extends Notification> void registerDecoder(KnownEtherType etherType, PacketDecoder packetDecoder, Class<C> packetReceivedNotificationType);
+  public <C extends Notification> void registerDecoder(PacketPayloadType packetPayloadType, PacketDecoder packetDecoder, Class<C> packetReceivedNotificationType);
 }