@Beta public class DefaultTunnelDescription extends AbstractDescription implements TunnelDescription
TunnelDescription.Type| Constructor and Description |
|---|
DefaultTunnelDescription(TunnelEndPoint src,
TunnelEndPoint dst,
TunnelDescription.Type type,
TunnelName tunnelName,
SparseAnnotations... annotations)
Creates a tunnel description using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
TunnelEndPoint |
dst()
Returns the connection point destination.
|
TunnelEndPoint |
src()
Returns the connection point source.
|
String |
toString() |
TunnelName |
tunnelName()
Return the name of a tunnel.
|
TunnelDescription.Type |
type()
Returns the tunnel type.
|
annotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitannotationspublic DefaultTunnelDescription(TunnelEndPoint src, TunnelEndPoint dst, TunnelDescription.Type type, TunnelName tunnelName, SparseAnnotations... annotations)
src - TunnelPoint sourcedst - TunnelPoint destinationtype - tunnel typetunnelName - tunnel nameannotations - optional key/value annotationspublic TunnelEndPoint src()
TunnelDescriptionsrc in interface TunnelDescriptionpublic TunnelEndPoint dst()
TunnelDescriptiondst in interface TunnelDescriptionpublic TunnelDescription.Type type()
TunnelDescriptiontype in interface TunnelDescriptionpublic TunnelName tunnelName()
TunnelDescriptiontunnelName in interface TunnelDescriptionCopyright © 2015. All rights reserved.