Class ArpUtilImpl
- java.lang.Object
-
- org.opendaylight.infrautils.inject.AbstractLifecycle
-
- org.opendaylight.genius.arputil.internal.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()
-
-
-
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 classorg.opendaylight.infrautils.inject.AbstractLifecycle
-
stop
public void stop()
- Specified by:
stop
in classorg.opendaylight.infrautils.inject.AbstractLifecycle
-
getMac
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMacOutput>> getMac(GetMacInput input)
- Specified by:
getMac
in interfaceOdlArputilService
-
sendArpRequest
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpRequestOutput>> sendArpRequest(SendArpRequestInput arpReqInput)
- Specified by:
sendArpRequest
in interfaceOdlArputilService
-
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)
-
sendArpResponse
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpResponseOutput>> sendArpResponse(SendArpResponseInput input)
- Specified by:
sendArpResponse
in interfaceOdlArputilService
-
onPacketReceived
public void onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
- Specified by:
onPacketReceived
in interfaceorg.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
-
-