Packages that use ConnectionOptions
Package
Description
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Uses of ConnectionOptions in net.i2p.client.streaming.impl
Fields in net.i2p.client.streaming.impl declared as ConnectionOptionsModifier and TypeFieldDescriptionprivate final ConnectionOptionsConnectionManager._defaultOptionsOptions used for new connections.private final ConnectionOptionsI2PSocketManagerFull._defaultOptionsDefault options for new connections.private ConnectionOptionsConnection._optionsConnection options.private final ConnectionOptionsSimpleBandwidthEstimator._optsThe connection options being estimated.Fields in net.i2p.client.streaming.impl with type parameters of type ConnectionOptionsModifier and TypeFieldDescriptionprivate final Map<I2PSession, ConnectionOptions> I2PSocketManagerFull._subsessionsOptionsOptions each subsession was opened with.Methods in net.i2p.client.streaming.impl that return ConnectionOptionsMethods in net.i2p.client.streaming.impl with parameters of type ConnectionOptionsModifier and TypeMethodDescriptionConnectionManager.connect(Destination peer, ConnectionOptions opts, I2PSession session) Build a new connection to the given peer.private ConnectionConnectionManager.finalizeConnection(Connection con, Destination peer, ConnectionOptions opts, long connectStart, boolean fromPool) Common post-creation setup for both pooled and new connections.private voidConnectionOptions.initLists(ConnectionOptions opts) Copy the access/blacklist sets and their enable flags from another instance.voidConnection.setOptions(ConnectionOptions opts) ConnectionOptions for this connection.private voidConnectionOptions.update(ConnectionOptions opts) Copy all local (streaming-specific) options from opts.voidConnectionOptions.updateAll(ConnectionOptions opts) Copy all parent-class options then overlay ours from opts.Constructors in net.i2p.client.streaming.impl with parameters of type ConnectionOptionsModifierConstructorDescriptionConnection(I2PAppContext ctx, ConnectionManager manager, I2PSession session, SchedulerChooser chooser, SimpleTimer2 timer, PacketQueue queue, ConnectionPacketHandler handler, ConnectionOptions opts, boolean isInbound) Constructor for this connection.ConnectionManager(I2PAppContext context, I2PSession session, ConnectionOptions defaultOptions, IncomingConnectionFilter connectionFilter) Manage all conns for this session.Create options as a deep copy of the given ConnectionOptions, applying system property defaults then overlaying all local fields.(package private)New estimator bound to the given options.