public class AccessDeviceEvent extends org.onosproject.event.AbstractEvent<AccessDeviceEvent.Type,org.onosproject.net.DeviceId>
| Modifier and Type | Class and Description |
|---|---|
static class |
AccessDeviceEvent.Type |
| Modifier | Constructor and Description |
|---|---|
protected |
AccessDeviceEvent(AccessDeviceEvent.Type type,
org.onosproject.net.DeviceId deviceId,
long time,
org.onlab.packet.VlanId sVlanId,
org.onlab.packet.VlanId cVlanId)
Creates an event of a given type and for the specified device, and timestamp
along with the cVlanId and sVlanId.
|
|
AccessDeviceEvent(AccessDeviceEvent.Type type,
org.onosproject.net.DeviceId deviceId,
org.onlab.packet.VlanId sVlanId,
org.onlab.packet.VlanId cVlanId)
Creates an event of a given type and for the specified device,
along with the cVlanId and sVlanId.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.onlab.packet.VlanId> |
cVlanId() |
Optional<org.onlab.packet.VlanId> |
sVlanId() |
public AccessDeviceEvent(AccessDeviceEvent.Type type, org.onosproject.net.DeviceId deviceId, org.onlab.packet.VlanId sVlanId, org.onlab.packet.VlanId cVlanId)
type - the event typedeviceId - the device idsVlanId - the service vlancVlanId - the customer vlanprotected AccessDeviceEvent(AccessDeviceEvent.Type type, org.onosproject.net.DeviceId deviceId, long time, org.onlab.packet.VlanId sVlanId, org.onlab.packet.VlanId cVlanId)
type - the event typedeviceId - the device idtime - a timestampsVlanId - the service vlancVlanId - the customer vlanCopyright © 2016. All rights reserved.