Package org.onosproject.store.flow
Class ReplicaInfoEvent
- java.lang.Object
 - 
- org.onosproject.event.AbstractEvent<ReplicaInfoEvent.Type,DeviceId>
 - 
- org.onosproject.store.flow.ReplicaInfoEvent
 
 
 
- 
- All Implemented Interfaces:
 Event<ReplicaInfoEvent.Type,DeviceId>
public class ReplicaInfoEvent extends AbstractEvent<ReplicaInfoEvent.Type,DeviceId>
Describes a device replicainfo event. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReplicaInfoEvent.TypeTypes of Replica info event. 
- 
Constructor Summary
Constructors Constructor Description ReplicaInfoEvent(ReplicaInfoEvent.Type type, DeviceId device, ReplicaInfo replicaInfo)Creates an event of a given type and for the specified device, and replica info. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaInforeplicaInfo()Returns the current replica information for the subject.- 
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ReplicaInfoEvent
public ReplicaInfoEvent(ReplicaInfoEvent.Type type, DeviceId device, ReplicaInfo replicaInfo)
Creates an event of a given type and for the specified device, and replica info.- Parameters:
 type- replicainfo event typedevice- event device subjectreplicaInfo- replicainfo
 
 - 
 
- 
Method Detail
- 
replicaInfo
public ReplicaInfo replicaInfo()
Returns the current replica information for the subject.- Returns:
 - replica information for the subject
 
 
 - 
 
 -