2 * Copyright (c) 2016 Dell Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netvirt.ipv6service.utils;
11 import io.netty.util.Timeout;
12 import io.netty.util.TimerTask;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
15 public class Ipv6PeriodicTimer implements TimerTask {
16 private final Ipv6PeriodicTrQueue ipv6Queue;
17 private final Uuid portId;
19 public Ipv6PeriodicTimer(Uuid portId, Ipv6PeriodicTrQueue ipv6Queue) {
21 this.ipv6Queue = ipv6Queue;
25 public void run(Timeout timeout) throws Exception {
26 ipv6Queue.addMessage(portId);