java.lang.Object
net.i2p.client.I2PSession.TunnelPair
- Enclosing interface:
I2PSession
Simple holder for tunnel pair information.
Field Summary
Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionInbound tunnel for this pair.Outbound tunnel for this pair.booleanisEmpty()Whether neither tunnel is set.
Field Details
_inboundTunnelId
The tunnel messages arrive on._outboundTunnelId
The tunnel messages are sent on.
Constructor Details
TunnelPair
Method Details
getInboundTunnelId
getOutboundTunnelId
isEmpty
public boolean isEmpty()Whether neither tunnel is set.- Returns:
- true if both tunnel IDs are null