public class NodeMessage extends Entity
| Constructor and Description |
|---|
NodeMessage(Entity entity,
UpdateType op)
Constructs a new NodeMessage using Entity.
|
NodeMessage(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
UpdateType op,
int controllerId) |
NodeMessage(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
UpdateType op,
int controllerId)
Constructs a new NodeMessage using MAC, VLAN, IP,
data path id and port.
|
| Modifier and Type | Method and Description |
|---|---|
Entity |
entity()
Returns the entity from Node Message.
|
boolean |
equals(Object obj) |
int |
hashCode() |
UpdateType |
operation()
Gets the operation.
|
void |
setOperation(UpdateType operation)
Sets the operation.
|
controllerId, dpid, getAge, getARPTableEntry, getNetworkNode, ip, lastAccessed, mac, resetLastAccessed, setAge, setControllerId, setLastAccessed, switchPort, toString, vidpublic NodeMessage(MacAddress mac, VId vid, IpAddress ip, DataPathId dpid, BigPortNumber port, UpdateType op, int controllerId)
mac - the MAC addressvid - the VLAN IDip - the IP addressdpid - the Switch DPIDport - the portop - operation to be performed on this messagecontrollerId - the hash of the controller instance idpublic NodeMessage(MacAddress mac, VId vid, IpAddress ip, DataPathId dpid, BigPortNumber port, long age, UpdateType op, int controllerId)
public NodeMessage(Entity entity, UpdateType op)
entity - the entityop - operation to be performed on this messagepublic UpdateType operation()
public Entity entity()
public void setOperation(UpdateType operation)
operation - the new operationCopyright © 2014. All Rights Reserved.