@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(java.lang.Object obj) |
int |
hashCode() |
TunnelEndPoint |
src()
Returns source point of tunnel.
|
java.lang.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()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object