Class ReplicaInfoEvent

  • All Implemented Interfaces:
    org.onosproject.event.Event<ReplicaInfoEvent.Type,​org.onosproject.net.DeviceId>

    public class ReplicaInfoEvent
    extends org.onosproject.event.AbstractEvent<ReplicaInfoEvent.Type,​org.onosproject.net.DeviceId>
    Describes a device replicainfo event.
    • Constructor Detail

      • ReplicaInfoEvent

        public 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.
        Parameters:
        type - replicainfo event type
        device - event device subject
        replicaInfo - replicainfo
    • Method Detail

      • replicaInfo

        public ReplicaInfo replicaInfo()
        Returns the current replica information for the subject.
        Returns:
        replica information for the subject