public final class DefaultTunnelDescription extends AbstractDescription implements TunnelDescription
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTunnelDescription.Builder |
TunnelDescription.Type| Constructor and Description |
|---|
DefaultTunnelDescription(TunnelEndPoint src,
TunnelEndPoint dst,
TunnelDescription.Type type,
TunnelName tunnelName,
SparseAnnotations... annotations)
Deprecated.
version 1.7.0 - Hummingbird
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultTunnelDescription.Builder |
builder()
Creates and returns a new builder instance.
|
Optional<String> |
deviceId()
Returns the identifier of the device where the interface is.
|
TunnelEndPoint |
dst()
Deprecated.
|
String |
ifaceName()
Return the name of the tunnel interface.
|
Optional<TunnelKey> |
key()
Returns the tunnel key.
|
Optional<TunnelEndPoint> |
local()
Returns the local connection point.
|
Optional<TunnelEndPoint> |
remote()
Returns the remote connection point.
|
TunnelEndPoint |
src()
Deprecated.
|
String |
toString() |
TunnelName |
tunnelName()
Deprecated.
|
TunnelDescription.Type |
type()
Returns the tunnel type.
|
annotations, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations@Deprecated public 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 Optional<String> deviceId()
TunnelDescriptiondeviceId in interface TunnelDescriptionpublic String ifaceName()
TunnelDescriptionifaceName in interface TunnelDescription@Deprecated public TunnelEndPoint src()
TunnelDescriptionsrc in interface TunnelDescription@Deprecated public TunnelEndPoint dst()
TunnelDescriptiondst in interface TunnelDescriptionpublic TunnelDescription.Type type()
TunnelDescriptiontype in interface TunnelDescriptionpublic Optional<TunnelEndPoint> local()
TunnelDescriptionlocal in interface TunnelDescriptionpublic Optional<TunnelEndPoint> remote()
TunnelDescriptionremote in interface TunnelDescriptionpublic Optional<TunnelKey> key()
TunnelDescriptionkey in interface TunnelDescription@Deprecated public TunnelName tunnelName()
TunnelDescriptiontunnelName in interface TunnelDescriptionpublic static DefaultTunnelDescription.Builder builder()