public class TunnelRemovalEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class | TunnelRemovalEvent.RemovalReasonRemovalReason. |
| Constructor and Description |
|---|
TunnelRemovalEvent(String poolName,
TunnelId tunnelId,
boolean isInbound,
TunnelRemovalEvent.RemovalReason reason)Create a new tunnel removal event. |
| Modifier and Type | Method and Description |
|---|---|
String | getPoolName()Return the tunnel pool name. |
TunnelRemovalEvent.RemovalReason | getReason()Return the removal reason. |
long | getTimestamp()Return the event time. |
TunnelId | getTunnelId()Return the tunnel ID. |
boolean | isInbound()Return whether this is an inbound tunnel. |
String | toString()toString. |
public TunnelRemovalEvent(String poolName, TunnelId tunnelId, boolean isInbound, TunnelRemovalEvent.RemovalReason reason)
poolName - the tunnel pool nametunnelId - the tunnel IDisInbound - true if inboundreason - the removal reasonpublic String getPoolName()
public TunnelRemovalEvent.RemovalReason getReason()
public long getTimestamp()
public TunnelId getTunnelId()
public boolean isInbound()