java.lang.Object
net.i2p.data.i2cp.RequestLeaseSetMessage.TunnelEndpoint
- All Implemented Interfaces:
Serializable
- Enclosing class:
RequestLeaseSetMessage
One tunnel endpoint of the lease set.
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionTunnelEndpoint(Hash router, TunnelId id) One requested tunnel, pairing a router with one of its tunnel ids.Method Summary
All MethodsModifier and TypeMethodDescriptionReturns the router identity of this tunnel.Tunnel this endpoint reaches the router over.
Field Details
serialVersionUID
private static final long serialVersionUIDThe serialization version of the endpoint.- See Also:
_router
The gateway router's hash._tunnelId
The gateway's tunnel id.
Constructor Details
TunnelEndpoint
Method Details
getRouter
Returns the router identity of this tunnel.- Returns:
- the identity hash of this tunnel's gateway
getTunnelId
Tunnel this endpoint reaches the router over.- Returns:
- the tunnel id, never null