public class DefaultEdgeLink extends DefaultLink implements EdgeLink
Link.State, Link.Type| 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.
|
HostId |
hostId()
Returns the host identification.
|
HostLocation |
hostLocation()
Returns the connection point where the host attaches to the
network infrastructure.
|
dst, equals, hashCode, isDurable, src, state, toString, typeproviderIdannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationsproviderIdpublic 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 directionCopyright © 2015. All rights reserved.