@Beta
public final class TunnelSubscription
extends org.onosproject.net.AbstractAnnotated
| Constructor and Description |
|---|
TunnelSubscription(org.onosproject.core.ApplicationId consumerId,
TunnelEndPoint src,
TunnelEndPoint dst,
TunnelId tunnelId,
Tunnel.Type type,
TunnelName tunnelName,
org.onosproject.net.Annotations... annotations)
Creates a TunnelSubscription.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.core.ApplicationId |
consumerId()
Returns consumer identity.
|
TunnelEndPoint |
dst()
Returns destination point of tunnel.
|
boolean |
equals(Object obj) |
int |
hashCode() |
TunnelEndPoint |
src()
Returns source point of tunnel.
|
String |
toString() |
TunnelId |
tunnelId()
Returns tunnel identity.
|
TunnelName |
tunnelName()
Returns tunnel name.
|
Tunnel.Type |
type()
Returns tunnel type.
|
public TunnelSubscription(org.onosproject.core.ApplicationId consumerId,
TunnelEndPoint src,
TunnelEndPoint dst,
TunnelId tunnelId,
Tunnel.Type type,
TunnelName tunnelName,
org.onosproject.net.Annotations... annotations)
consumerId - consumer identitysrc - source tunnel end point of tunneldst - destination tunnel end point of tunneltunnelId - tunnel identitytype - tunnel typetunnelName - the name of a tunnelannotations - parameterpublic org.onosproject.core.ApplicationId consumerId()
public TunnelEndPoint src()
public TunnelEndPoint dst()
public Tunnel.Type type()
public TunnelId tunnelId()
public TunnelName tunnelName()