@Beta public interface TunnelProviderService extends ProviderService<TunnelProvider>
Modifier and Type | Method and Description |
---|---|
TunnelId |
tunnelAdded(TunnelDescription tunnel)
Signals that the provider has added a tunnel.
|
TunnelId |
tunnelAdded(TunnelDescription tunnel,
Tunnel.State state)
Signals that the provider has added a tunnel with a status which may not
be default, hence is provided as an input.
|
Tunnel |
tunnelQueryById(TunnelId tunnelId)
Signals that the a tunnel was queried.
|
void |
tunnelRemoved(TunnelDescription tunnel)
Signals that the provider has removed a tunnel.
|
void |
tunnelUpdated(TunnelDescription tunnel)
Signals that the a tunnel was changed (e.g., sensing changes of tunnel).
|
void |
tunnelUpdated(TunnelDescription tunnel,
Tunnel.State state)
Signals that the tunnel was changed with tunnel status change.
|
provider
TunnelId tunnelAdded(TunnelDescription tunnel)
tunnel
- tunnel informationTunnelId tunnelAdded(TunnelDescription tunnel, Tunnel.State state)
tunnel
- tunnel informationstate
- tunnel working statusvoid tunnelRemoved(TunnelDescription tunnel)
tunnel
- tunnel informationvoid tunnelUpdated(TunnelDescription tunnel)
tunnel
- tunnel informationvoid tunnelUpdated(TunnelDescription tunnel, Tunnel.State state)
tunnel
- tunnel informationstate
- tunnel working status