Initial interfaces for decoders and some refactoring.
[l2switch.git] / packethandler / implementation / src / main / java / org / opendaylight / l2switch / packethandler / decoders / PacketDecoderService.java
1 package org.opendaylight.l2switch.packethandler.decoders;
2
3 import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.types.rev140528.KnownEtherType;
4 import org.opendaylight.yangtools.yang.binding.Notification;
5
6 /**
7  * Created by amitmandke on 6/4/14.
8  */
9 public interface PacketDecoderService {
10   public <C extends Notification> void registerDecoder(KnownEtherType etherType, PacketDecoder packetDecoder, Class<C> packetReceivedNotificationType);
11 }