Class InternalDeviceStatusChangeEvent


  • public class InternalDeviceStatusChangeEvent
    extends Object
    Information published by GossipDeviceStore to notify peers of a device going offline.
    • Constructor Detail

      • InternalDeviceStatusChangeEvent

        public InternalDeviceStatusChangeEvent​(org.onosproject.net.DeviceId deviceId,
                                               org.onosproject.store.Timestamp timestamp,
                                               Boolean available)
        Creates a InternalDeviceStatusChangeEvent.
        Parameters:
        deviceId - identifier of device.
        timestamp - timestamp of when the device status is changed.
        available - device status is available or not.
    • Method Detail

      • deviceId

        public org.onosproject.net.DeviceId deviceId()
      • timestamp

        public org.onosproject.store.Timestamp timestamp()
      • available

        public Boolean available()