public class ConnectionPointDTO extends Object implements ConnectionPoint, Serializable
ConnectionPoint.ConnectionPoint.Type| Constructor and Description |
|---|
ConnectionPointDTO(DataPathId dpid,
BigPortNumber port,
ConnectionPoint.Type type)
Creates a DTO representing a connection point on the specified
datapath and port, of the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
DataPathId |
device()
Retrieves the datapathid associated with the referred connection point
|
boolean |
equals(Object obj) |
int |
hashCode() |
BigPortNumber |
port()
Retrieves the port number associated with the referred connection
point.
|
String |
toKeyString() |
String |
toString() |
ConnectionPoint.Type |
type()
Retrieves the type (infrastructure or edge) of connection point.
|
static ConnectionPointDTO |
valueOf(String data) |
public ConnectionPointDTO(DataPathId dpid, BigPortNumber port, ConnectionPoint.Type type)
dpid - the target datapathport - the port numbertype - the connection point typeNullPointerException - if any parameter is nullpublic DataPathId device()
ConnectionPointdevice in interface ConnectionPointpublic ConnectionPoint.Type type()
ConnectionPointtype in interface ConnectionPointpublic BigPortNumber port()
ConnectionPointport in interface ConnectionPointpublic String toKeyString()
public static ConnectionPointDTO valueOf(String data)
Copyright © 2014. All Rights Reserved.