public class ReplicaInfoEvent extends org.onosproject.event.AbstractEvent<ReplicaInfoEvent.Type,org.onosproject.net.DeviceId>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplicaInfoEvent.Type
Types of Replica info event.
|
| Constructor and Description |
|---|
ReplicaInfoEvent(ReplicaInfoEvent.Type type,
org.onosproject.net.DeviceId device,
ReplicaInfo replicaInfo)
Creates an event of a given type and for the specified device,
and replica info.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicaInfo |
replicaInfo()
Returns the current replica information for the subject.
|
public ReplicaInfoEvent(ReplicaInfoEvent.Type type, org.onosproject.net.DeviceId device, ReplicaInfo replicaInfo)
type - replicainfo event typedevice - event device subjectreplicaInfo - replicainfopublic ReplicaInfo replicaInfo()