public class DefaultEdgeLink extends DefaultLink implements EdgeLink
DefaultLink.BuilderAbstractProjectableModel.AnnotationDriverDataLink.State, Link.TypeNO_DRIVER, NO_DRIVER_SERVICE| Constructor and Description |
|---|
DefaultEdgeLink(ProviderId providerId,
ConnectPoint hostPoint,
HostLocation hostLocation,
boolean isIngress,
Annotations... annotations)
Creates an edge link using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultEdgeLink |
createEdgeLink(ConnectPoint edgePort,
boolean isIngress)
Creates a phantom edge link, to an unspecified end-station.
|
static DefaultEdgeLink |
createEdgeLink(Host host,
boolean isIngress)
Creates a an edge link, to the specified end-station.
|
static Set<DefaultEdgeLink> |
createEdgeLinks(Host host,
boolean isIngress)
Creates edge links, to the specified end-station.
|
HostId |
hostId()
Returns the host identification.
|
HostLocation |
hostLocation()
Returns the connection point where the host attaches to the
network infrastructure.
|
builder, dst, equals, hashCode, isExpected, src, state, toString, typeas, asData, bindAndCheckDriver, bindDriver, driver, driverService, is, locateDriver, setDriverServiceproviderIdannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationsproviderIdas, is, projectpublic DefaultEdgeLink(ProviderId providerId, ConnectPoint hostPoint, HostLocation hostLocation, boolean isIngress, Annotations... annotations)
providerId - provider identityhostPoint - host-side connection pointhostLocation - location where host attaches to the networkisIngress - true to indicate host-to-network direction; false
for network-to-host directionannotations - optional key/value annotationspublic HostId hostId()
EdgeLinkpublic HostLocation hostLocation()
EdgeLinkhostLocation in interface EdgeLinkpublic static DefaultEdgeLink createEdgeLink(ConnectPoint edgePort, boolean isIngress)
edgePort - network edge portisIngress - true to indicate host-to-network direction; false
for network-to-host directionpublic static DefaultEdgeLink createEdgeLink(Host host, boolean isIngress)
host - hostisIngress - true to indicate host-to-network direction; false
for network-to-host directionpublic static Set<DefaultEdgeLink> createEdgeLinks(Host host, boolean isIngress)
host - hostisIngress - true to indicate host-to-network direction; false
for network-to-host direction