net.floodlightcontroller.devicemanager.internal
Class AttachmentPoint
java.lang.Object
net.floodlightcontroller.devicemanager.internal.AttachmentPoint
public class AttachmentPoint
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
INACTIVITY_INTERVAL
public static final long INACTIVITY_INTERVAL
- See Also:
- Constant Field Values
EXTERNAL_TO_EXTERNAL_TIMEOUT
public static final long EXTERNAL_TO_EXTERNAL_TIMEOUT
- See Also:
- Constant Field Values
OPENFLOW_TO_EXTERNAL_TIMEOUT
public static final long OPENFLOW_TO_EXTERNAL_TIMEOUT
- See Also:
- Constant Field Values
CONSISTENT_TIMEOUT
public static final long CONSISTENT_TIMEOUT
- See Also:
- Constant Field Values
AttachmentPoint
public AttachmentPoint(long sw,
int port,
long activeSince,
long lastSeen)
AttachmentPoint
public AttachmentPoint(long sw,
int port,
long lastSeen)
AttachmentPoint
public AttachmentPoint(AttachmentPoint ap)
getSw
public long getSw()
setSw
public void setSw(long sw)
getPort
public int getPort()
setPort
public void setPort(int port)
getActiveSince
public long getActiveSince()
setActiveSince
public void setActiveSince(long activeSince)
getLastSeen
public long getLastSeen()
setLastSeen
public void setLastSeen(long lastSeen)
hashCode
public int hashCode()
- Hash is generated using only switch and port
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Compares only the switch and port
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object