|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDevice
Represents an independent device on the network. A device consists of a set of entities, and all the information known about a given device comes only from merging all associated entities for that device.
Method Summary | |
---|---|
SwitchPort[] |
getAttachmentPoints()
Get all unique attachment points associated with the device. |
SwitchPort[] |
getAttachmentPoints(boolean includeError)
Get all unique attachment points associated with the device. |
java.lang.Long |
getDeviceKey()
Get the primary key for this device. |
IEntityClass |
getEntityClass()
Get the entity class for the device. |
java.lang.Integer[] |
getIPv4Addresses()
Get all unique IPv4 addresses associated with the device. |
java.util.Date |
getLastSeen()
Get the most recent timestamp for this device |
long |
getMACAddress()
Get the MAC address of the device as a Long value. |
java.lang.String |
getMACAddressString()
Get the MAC address of the device as a String value. |
SwitchPort[] |
getOldAP()
Get all old attachment points associated with the device. |
java.lang.Short[] |
getSwitchPortVlanIds(SwitchPort swp)
Returns all unique VLAN IDs for the device that were observed on the given switch port |
java.lang.Short[] |
getVlanId()
Get all unique VLAN IDs for the device. |
Method Detail |
---|
java.lang.Long getDeviceKey()
long getMACAddress()
java.lang.String getMACAddressString()
java.lang.Short[] getVlanId()
java.lang.Integer[] getIPv4Addresses()
SwitchPort[] getAttachmentPoints()
SwitchPort[] getOldAP()
SwitchPort[] getAttachmentPoints(boolean includeError)
includeError
- whether to include blocked attachment points.
Blocked attachment points should not be used for forwarding, but
could be useful to show to a user
java.lang.Short[] getSwitchPortVlanIds(SwitchPort swp)
swp
- the switch port to query
java.util.Date getLastSeen()
IEntityClass getEntityClass()
IEntityClassifierService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |