@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(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.
|
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()