Class InternalDeviceStatusChangeEvent


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

      Constructors 
      Constructor Description
      InternalDeviceStatusChangeEvent​(org.onosproject.net.DeviceId deviceId, org.onosproject.store.Timestamp timestamp, java.lang.Boolean available)
      Creates a InternalDeviceStatusChangeEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean available()  
      org.onosproject.net.DeviceId deviceId()  
      org.onosproject.store.Timestamp timestamp()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InternalDeviceStatusChangeEvent

        public InternalDeviceStatusChangeEvent​(org.onosproject.net.DeviceId deviceId,
                                               org.onosproject.store.Timestamp timestamp,
                                               java.lang.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 java.lang.Boolean available()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object