public class Peer extends Object
| Constructor and Description |
|---|
Peer() |
Peer(String name,
String dpid,
String ipAddress,
String port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object ob) |
String |
getDpid() |
String |
getIpAddress()
Returns the IP Address of the Peer.
|
boolean |
getl2Status()
Returns the layer two status of the Peer.
|
String |
getName()
Returns the name of the Peer or the Customer.
|
String |
getPort()
Returns the port number where the Peer is attached.
|
int |
hashCode() |
void |
setDpid(String dpid) |
void |
setIpAddress(String ipAddress) |
void |
setL2(boolean value)
Specifies if the layer two flows for this peer are configured or not.
|
void |
setName(String name)
The name of the Peer or Customer to be added.
|
void |
setPort(String port) |
public void setDpid(String dpid)
public void setIpAddress(String ipAddress)
public void setPort(String port)
public void setName(String name)
name - A String name.public void setL2(boolean value)
value - True if layer two configured.public String getName()
public String getIpAddress()
public String getPort()
public boolean getl2Status()
public String getDpid()