Class ArpUtilImpl

  • All Implemented Interfaces:
    java.util.EventListener, org.opendaylight.infrautils.inject.Lifecycle, OdlArputilService, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener, org.opendaylight.yangtools.yang.binding.NotificationListener, org.opendaylight.yangtools.yang.binding.RpcService

    @Singleton
    public class ArpUtilImpl
    extends org.opendaylight.infrautils.inject.AbstractLifecycle
    implements OdlArputilService, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
    • Constructor Summary

      Constructors 
      Constructor Description
      ArpUtilImpl​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService packetProcessingService, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.binding.api.NotificationService notificationService, OdlInterfaceRpcService odlInterfaceRpcService, org.opendaylight.infrautils.metrics.MetricProvider metricProvider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMacOutput>> getMac​(GetMacInput input)  
      void onPacketReceived​(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)  
      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpRequestOutput>> sendArpRequest​(SendArpRequestInput arpReqInput)  
      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpResponseOutput>> sendArpResponse​(SendArpResponseInput input)  
      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.TransmitPacketOutput>> sendPacketOut​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, byte[] payload, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef ref)  
      void start()  
      void stop()  
      • Methods inherited from class org.opendaylight.infrautils.inject.AbstractLifecycle

        checkIsRunning, destroy, init, isRunning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArpUtilImpl

        @Inject
        public ArpUtilImpl​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                           org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService packetProcessingService,
                           org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService,
                           org.opendaylight.mdsal.binding.api.NotificationService notificationService,
                           OdlInterfaceRpcService odlInterfaceRpcService,
                           org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
    • Method Detail

      • start

        public void start()
        Specified by:
        start in class org.opendaylight.infrautils.inject.AbstractLifecycle
      • stop

        public void stop()
        Specified by:
        stop in class org.opendaylight.infrautils.inject.AbstractLifecycle
      • sendPacketOut

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.TransmitPacketOutput>> sendPacketOut​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                                                                                                                                                                                               byte[] payload,
                                                                                                                                                                                                                               org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef ref)
      • onPacketReceived

        public void onPacketReceived​(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
        Specified by:
        onPacketReceived in interface org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener