Package org.onosproject.cpman
Interface ControlMessage
-
- All Known Implementing Classes:
DefaultControlMessage
public interface ControlMessage
Abstraction of control message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ControlMessage.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
count()
Returns the latest control message packet count.DeviceId
deviceId()
Returns the device identification.long
load()
Returns the latest control message load.long
rate()
Returns the latest control message rate.long
timestamp()
Returns the time that this control message stats collected.ControlMessage.Type
type()
Returns the control message type.
-
-
-
Method Detail
-
type
ControlMessage.Type type()
Returns the control message type.- Returns:
- control message type
-
deviceId
DeviceId deviceId()
Returns the device identification.- Returns:
- device identification
-
load
long load()
Returns the latest control message load.- Returns:
- control message load
-
rate
long rate()
Returns the latest control message rate.- Returns:
- control message rate
-
count
long count()
Returns the latest control message packet count.- Returns:
- packet count
-
timestamp
long timestamp()
Returns the time that this control message stats collected.- Returns:
- time stamp.
-
-