java.lang.Object
net.i2p.router.ClientTunnelSettings
Wrap up the client settings specifying their tunnel criteria.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TunnelPoolSettingsSettings for the client's inbound tunnels.private final TunnelPoolSettingsSettings for the client's outbound tunnels.Constructor Summary
ConstructorsConstructorDescriptionClientTunnelSettings(Hash dest) Create tunnel settings for the given destination.Method Summary
Modifier and TypeMethodDescriptionGet the settings for the client's inbound tunnel pool.Get the settings for the client's outbound tunnel pool.voidreadFromProperties(Properties props) Load settings from the given properties.toString()private voidwriteToProperties(Properties props) Writes both pools' settings into the properties.
Field Details
_inboundSettings
Settings for the client's inbound tunnels._outboundSettings
Settings for the client's outbound tunnels.
Constructor Details
ClientTunnelSettings
Create tunnel settings for the given destination.- Parameters:
dest- the destination hash
Method Details
getInboundSettings
Get the settings for the client's inbound tunnel pool.- Returns:
- the settings, created with the destination and never null
getOutboundSettings
Get the settings for the client's outbound tunnel pool.- Returns:
- the settings, created with the destination and never null
readFromProperties
Load settings from the given properties.- Parameters:
props- the properties to load from
writeToProperties
Writes both pools' settings into the properties.- Parameters:
props- where the settings are written
toString