Constructor and Description |
---|
ControllerInfo(IpAddress ip,
int port,
java.lang.String type)
Information for contacting the controller.
|
ControllerInfo(IpAddress ip,
int port,
java.lang.String type,
Annotations annotations)
Information for contacting the controller.
|
ControllerInfo(java.lang.String target)
Deprecated.
in Hummingbird (1.7.0)
|
Modifier and Type | Method and Description |
---|---|
Annotations |
annotations()
Returns the key/value annotations.
|
boolean |
equals(java.lang.Object toBeCompared) |
int |
hashCode() |
IpAddress |
ip()
Exposes the ip address of the controller.
|
int |
port()
Exposes the tcp port of the controller.
|
java.lang.String |
target()
Deprecated.
|
java.lang.String |
type()
Exposes the type of the controller connection.
|
public ControllerInfo(IpAddress ip, int port, java.lang.String type)
ip
- the ip addressport
- the tcp porttype
- the connection typepublic ControllerInfo(IpAddress ip, int port, java.lang.String type, Annotations annotations)
ip
- the ip addressport
- the tcp porttype
- the connection typeannotations
- optional key/value annotations@Deprecated public ControllerInfo(java.lang.String target)
target
- column returned from ovsdb querypublic IpAddress ip()
public int port()
public java.lang.String type()
public Annotations annotations()
Annotated
annotations
in interface Annotated
@Deprecated public java.lang.String target()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object toBeCompared)
equals
in class java.lang.Object