@Beta public final class TunnelSubscription extends AbstractAnnotated
Constructor and Description |
---|
TunnelSubscription(ApplicationId consumerId,
TunnelEndPoint src,
TunnelEndPoint dst,
TunnelId tunnelId,
Tunnel.Type type,
TunnelName tunnelName,
Annotations... annotations)
Creates a TunnelSubscription.
|
Modifier and Type | Method and Description |
---|---|
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.
|
annotations
public TunnelSubscription(ApplicationId consumerId, TunnelEndPoint src, TunnelEndPoint dst, TunnelId tunnelId, Tunnel.Type type, TunnelName tunnelName, 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 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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object