@Beta public final class TunnelEvent extends AbstractEvent<TunnelEvent.Type,Tunnel>
| Modifier and Type | Class and Description |
|---|---|
static class |
TunnelEvent.Type
Type of tunnel events.
|
| Constructor and Description |
|---|
TunnelEvent(TunnelEvent.Type type,
Tunnel tunnel)
Creates an event of a given type and for the specified tunnel.
|
TunnelEvent(TunnelEvent.Type type,
Tunnel tunnel,
long time)
Creates an event of a given type and for the specified link and
the current time.
|
subject, time, toString, typepublic TunnelEvent(TunnelEvent.Type type, Tunnel tunnel)
type - tunnel event typetunnel - event tunnel subjectpublic TunnelEvent(TunnelEvent.Type type, Tunnel tunnel, long time)
type - tunnel event typetunnel - event tunnel subjecttime - occurrence time