public class VirtualNetworkEvent extends AbstractEvent<VirtualNetworkEvent.Type,NetworkId>
| Modifier and Type | Class and Description |
|---|---|
static class |
VirtualNetworkEvent.Type
Type of virtual network events.
|
| Constructor and Description |
|---|
VirtualNetworkEvent(VirtualNetworkEvent.Type type,
NetworkId subject)
Creates an event of a given type and for the specified subject.
|
VirtualNetworkEvent(VirtualNetworkEvent.Type type,
NetworkId subject,
long time)
Creates an event of a given type and for the specified subject and time.
|
VirtualNetworkEvent(VirtualNetworkEvent.Type type,
NetworkId subject,
VirtualDevice virtualDevice)
Creates an event of a given type and for the specified subject and the
virtual device.
|
VirtualNetworkEvent(VirtualNetworkEvent.Type type,
NetworkId subject,
VirtualDevice virtualDevice,
long time)
Creates an event of a given type and for the specified subject, virtual device and time.
|
VirtualNetworkEvent(VirtualNetworkEvent.Type type,
NetworkId subject,
VirtualDevice virtualDevice,
VirtualPort virtualPort)
Creates an event of a given type and for the specified subject, virtual device and
virtual port.
|
VirtualNetworkEvent(VirtualNetworkEvent.Type type,
NetworkId subject,
VirtualPort virtualPort,
long time)
Creates an event of a given type and for the specified subject, virtual port and time.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualDevice |
virtualDevice()
Returns virtual device affected by event - may be null (for events relating to
tenants and virtual networks).
|
VirtualPort |
virtualPort()
Returns virtual port affected by event - may be null (for events relating to
tenants, virtual networks and virtual devices).
|
subject, time, toString, typepublic VirtualNetworkEvent(VirtualNetworkEvent.Type type, NetworkId subject)
type - event typesubject - event subjectpublic VirtualNetworkEvent(VirtualNetworkEvent.Type type, NetworkId subject, VirtualDevice virtualDevice)
type - event typesubject - event subjectvirtualDevice - virtual devicepublic VirtualNetworkEvent(VirtualNetworkEvent.Type type, NetworkId subject, VirtualDevice virtualDevice, VirtualPort virtualPort)
type - event typesubject - event subjectvirtualDevice - virtual devicevirtualPort - virtual portpublic VirtualNetworkEvent(VirtualNetworkEvent.Type type, NetworkId subject, long time)
type - event typesubject - event subjecttime - occurrence timepublic VirtualNetworkEvent(VirtualNetworkEvent.Type type, NetworkId subject, VirtualDevice virtualDevice, long time)
type - event typesubject - event subjectvirtualDevice - virtual devicetime - occurrence timepublic VirtualNetworkEvent(VirtualNetworkEvent.Type type, NetworkId subject, VirtualPort virtualPort, long time)
type - device event typesubject - event subjectvirtualPort - virtual porttime - occurrence timepublic VirtualDevice virtualDevice()
public VirtualPort virtualPort()