blob: 081964f86df9ecb6a34c045c1f7f13427ea63215 [file] [log] [blame]
Simon Hunta17fa672015-08-19 18:42:22 -07001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17
18package org.onosproject.ui.impl.topo;
19
Simon Hunt4fc86852015-08-20 17:57:52 -070020import org.onosproject.net.Link;
21import org.onosproject.net.LinkKey;
Simon Hunt191c84a2015-08-21 08:24:48 -070022import org.onosproject.ui.topo.BiLinkMap;
Simon Hunt4fc86852015-08-20 17:57:52 -070023
Simon Hunta17fa672015-08-19 18:42:22 -070024/**
Simon Hunt4fc86852015-08-20 17:57:52 -070025 * Collection of {@link TrafficLink}s.
Simon Hunta17fa672015-08-19 18:42:22 -070026 */
Simon Hunt4fc86852015-08-20 17:57:52 -070027public class TrafficLinkMap extends BiLinkMap<TrafficLink> {
Simon Hunta17fa672015-08-19 18:42:22 -070028
Simon Hunt4fc86852015-08-20 17:57:52 -070029 @Override
30 public TrafficLink create(LinkKey key, Link link) {
31 return new TrafficLink(key, link);
32 }
Simon Hunta17fa672015-08-19 18:42:22 -070033}