blob: 822ba7a2b079ad4f472a2e25b0480594608d66c5 [file] [log] [blame]
Madan Jampani47c93732014-10-06 20:46:08 -07001package org.onlab.onos.store.device.impl;
2
3import org.onlab.onos.net.DeviceId;
4import org.onlab.onos.net.device.PortDescription;
5import org.onlab.onos.net.provider.ProviderId;
6import org.onlab.onos.store.common.impl.Timestamped;
7
8public class InternalPortStatusEvent {
9
10 private final ProviderId providerId;
11 private final DeviceId deviceId;
12 private final Timestamped<PortDescription> portDescription;
13
14 protected InternalPortStatusEvent(
15 ProviderId providerId,
16 DeviceId deviceId,
17 Timestamped<PortDescription> portDescription) {
18 this.providerId = providerId;
19 this.deviceId = deviceId;
20 this.portDescription = portDescription;
21 }
22
23 public DeviceId deviceId() {
24 return deviceId;
25 }
26
27 public ProviderId providerId() {
28 return providerId;
29 }
30
31 public Timestamped<PortDescription> portDescription() {
32 return portDescription;
33 }
34}