Uses of Class
net.i2p.router.RouterContext

Packages that use RouterContext
net.i2p.data.i2np This package defines the low-level messages sent between routers, called the Invisible Internet Network Protocol (I2NP). 
net.i2p.desktopgui.router   
net.i2p.router The I2P router application handles the I2P network communication. 
net.i2p.router.client Implements the router side of the I2CP interface, which is the API for applications to send and receive data through the router. 
net.i2p.router.dummy Dummy versions of things for testing. 
net.i2p.router.message Creates and parses garlic messages. 
net.i2p.router.networkdb A couple of classes, but most things are in kademlia. 
net.i2p.router.networkdb.kademlia The network database, including implementation of floodfills. 
net.i2p.router.networkdb.reseed Fetching, validation, unpacking, and installation of RouterInfos from signed su3 files, unsigned zip files, and web indexes. 
net.i2p.router.peermanager The peer manager logs information about the history and quality of network peers. 
net.i2p.router.startup The I2P startup package loads the configuration when I2P is started. 
net.i2p.router.tasks Miscellaneous classes, mostly things that are executed periodically as Jobs, Threads, and SimpleTimer.TimedEvents. 
net.i2p.router.transport The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent. 
net.i2p.router.transport.ntcp The NTCP transport allows passing I2P messages on top of TCP. 
net.i2p.router.transport.udp The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP. 
net.i2p.router.tunnel All the work of managing locally created and participating tunnels, creating and handling tunnel messages, and their encryption. 
net.i2p.router.tunnel.pool Tunnel creation, tunnel build message handling. 
net.i2p.router.update Classes to implement the update process. 
net.i2p.router.util These classes define the several useful utilities used throughout the router. 
net.i2p.router.web The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war. 
 

Uses of RouterContext in net.i2p.data.i2np
 

Constructors in net.i2p.data.i2np with parameters of type RouterContext
I2NPMessageReader(RouterContext context, InputStream stream, I2NPMessageReader.I2NPMessageEventListener lsnr)
          Deprecated.  
I2NPMessageReader(RouterContext context, InputStream stream, I2NPMessageReader.I2NPMessageEventListener lsnr, String name)
          Deprecated.  
 

Uses of RouterContext in net.i2p.desktopgui.router
 

Methods in net.i2p.desktopgui.router that return RouterContext
static RouterContext RouterManager.getRouterContext()
           
 

Uses of RouterContext in net.i2p.router
 

Fields in net.i2p.router declared as RouterContext
protected  RouterContext RouterThrottleImpl._context
           
 

Methods in net.i2p.router that return RouterContext
 RouterContext JobImpl.getContext()
           
 RouterContext Router.getContext()
          Non-null, but take care when accessing context items before runRouter() is called as the context will not be initialized.
 

Methods in net.i2p.router that return types with arguments of type RouterContext
(package private) static List<RouterContext> RouterContext.getContexts()
          Same as listContexts() but package private and modifiable.
static List<RouterContext> RouterContext.listContexts()
          Retrieve the list of router contexts currently instantiated in this JVM.
 

Constructors in net.i2p.router with parameters of type RouterContext
Banlist(RouterContext context)
           
Blocklist(RouterContext context)
           
ClientMessagePool(RouterContext context)
           
InNetMessagePool(RouterContext context)
           
JobImpl(RouterContext context)
           
JobQueue(RouterContext context)
          Does not start the pumper.
JobQueueRunner(RouterContext context, int id)
           
JobTiming(RouterContext context)
           
KeyManager(RouterContext context)
           
MessageHistory(RouterContext context)
           
MessageValidator(RouterContext context)
           
OutNetMessage(RouterContext context)
          Null msg and target, zero expiration (used in OutboundMessageRegistry only)
OutNetMessage(RouterContext context, I2NPMessage msg, long expiration, int priority, RouterInfo target)
          Standard constructor
OutNetMessagePool(RouterContext context)
           
PersistentKeyRing(RouterContext ctx)
           
RouterClock(RouterContext context)
          Does not start.
RouterDoSThrottle(RouterContext context)
          Deprecated.  
RouterThrottleImpl(RouterContext context)
           
StatisticsManager(RouterContext context)
           
 

Uses of RouterContext in net.i2p.router.client
 

Fields in net.i2p.router.client declared as RouterContext
protected  RouterContext ClientMessageEventListener._context
           
protected  RouterContext ClientConnectionRunner._context
           
protected  RouterContext ClientListenerRunner._context
           
protected  RouterContext ClientManager._ctx
           
 

Constructors in net.i2p.router.client with parameters of type RouterContext
ClientConnectionRunner(RouterContext context, ClientManager manager, Socket socket)
          Create a new runner against the given socket
ClientListenerRunner(RouterContext context, ClientManager manager, int port)
           
ClientManager(RouterContext context, int port)
          Does not start the listeners.
ClientManagerFacadeImpl(RouterContext context)
           
ClientMessageEventListener(RouterContext context, ClientConnectionRunner runner, boolean enforceAuth)
           
ClientWriterRunner(RouterContext context, ClientConnectionRunner runner)
           
CreateSessionJob(RouterContext context, SessionConfig config)
           
DomainClientListenerRunner(RouterContext context, ClientManager manager)
           
LookupDestJob(RouterContext context, ClientConnectionRunner runner, Hash h, Hash fromLocalDest)
           
LookupDestJob(RouterContext context, ClientConnectionRunner runner, long reqID, long timeout, SessionId sessID, Hash h, String name, Hash fromLocalDest)
          One of h or name non-null.
MessageReceivedJob(RouterContext ctx, ClientConnectionRunner runner, Destination toDest, Destination fromDest, Payload payload, boolean sendDirect)
           
QueuedClientConnectionRunner(RouterContext context, ClientManager manager, I2CPMessageQueue queue)
          Create a new runner with the given queues
ReportAbuseJob(RouterContext context, ClientConnectionRunner runner, Destination dest, String reason, int severity)
           
RequestLeaseSetJob(RouterContext ctx, ClientConnectionRunner runner, LeaseRequestState state)
           
SSLClientListenerRunner(RouterContext context, ClientManager manager, int port)
           
 

Uses of RouterContext in net.i2p.router.dummy
 

Constructors in net.i2p.router.dummy with parameters of type RouterContext
DummyClientManagerFacade(RouterContext ctx)
           
DummyNetworkDatabaseFacade(RouterContext ctx)
           
VMCommSystem(RouterContext context)
           
 

Uses of RouterContext in net.i2p.router.message
 

Methods in net.i2p.router.message with parameters of type RouterContext
static GarlicMessage GarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, int lowTagsThreshold, SessionKeyManager skm)
          called by netdb and above
static GarlicMessage GarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, SessionKeyManager skm)
          called by OCMJH
static GarlicMessage GarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, PublicKey target, SessionKey encryptKey, SessionTag encryptTag)
          used by TestJob and directly above and for encrypting DatabaseLookupMessages
static GarlicMessage GarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, SessionKeyManager skm)
          Now unused, since we have to generate a reply token first in OCMOSJ but we don't know if tags are required yet.
(package private) static GarlicMessage OutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, TunnelInfo replyTunnel, int tagsToSendOverride, int lowTagsOverride, SessionKey wrappedKey, Set<SessionTag> wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet)
          Allow the app to specify the data clove directly, which enables OutboundClientMessage to resend the same payload (including expiration and unique id) in different garlics (down different tunnels) This is called from OCMOSJ
static void OutboundClientMessageOneShotJob.init(RouterContext ctx)
          call once only
(package private) static boolean GarlicMessageBuilder.needsTags(RouterContext ctx, PublicKey key, Hash local, int minTagOverride)
           
 

Constructors in net.i2p.router.message with parameters of type RouterContext
GarlicMessageHandler(RouterContext context)
           
GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver)
           
GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver, Hash clientDestination)
           
HandleGarlicMessageJob(RouterContext context, GarlicMessage msg, RouterIdentity from, Hash fromHash)
           
OutboundCache(RouterContext ctx)
           
OutboundClientMessageOneShotJob(RouterContext ctx, OutboundCache cache, ClientMessage msg)
          Send the sucker
SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, int timeoutMs, int priority)
           
SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, Job onSend, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority)
           
SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority)
           
 

Uses of RouterContext in net.i2p.router.networkdb
 

Constructors in net.i2p.router.networkdb with parameters of type RouterContext
HandleDatabaseLookupMessageJob(RouterContext ctx, DatabaseLookupMessage receivedMessage, RouterIdentity from, Hash fromHash)
           
PublishLocalRouterInfoJob(RouterContext ctx)
           
 

Uses of RouterContext in net.i2p.router.networkdb.kademlia
 

Fields in net.i2p.router.networkdb.kademlia declared as RouterContext
protected  RouterContext PeerSelector._context
           
protected  RouterContext KademliaNetworkDatabaseFacade._context
           
protected  RouterContext TransientDataStore._context
           
 

Methods in net.i2p.router.networkdb.kademlia with parameters of type RouterContext
static MessageWrapper.OneTimeSession MessageWrapper.generateSession(RouterContext ctx)
          Create a single key and tag, for receiving a single encrypted message, and register it with the router's session key manager, to expire in two minutes.
static MessageWrapper.OneTimeSession MessageWrapper.generateSession(RouterContext ctx, Hash localDest)
          Create a single key and tag, for receiving a single encrypted message, and register it with the client's session key manager, to expire in two minutes.
static MessageWrapper.OneTimeSession MessageWrapper.generateSession(RouterContext ctx, SessionKeyManager skm)
          Create a single key and tag, for receiving a single encrypted message, and register it with the given session key manager, to expire in two minutes.
static File PersistentDataStore.getRouterInfoFile(RouterContext ctx, Hash hash)
          The persistent RI file for a hash.
(package private) static boolean SearchJob.onlyQueryFloodfillPeers(RouterContext ctx)
          this is now misnamed, as it is only used to determine whether to return floodfill peers only
(package private) static MessageWrapper.WrappedMessage MessageWrapper.wrap(RouterContext ctx, I2NPMessage m, Hash from, RouterInfo to)
          Garlic wrap a message from a client or this router, destined for a router, to hide the contents from the OBEP.
static GarlicMessage MessageWrapper.wrap(RouterContext ctx, I2NPMessage m, MessageWrapper.OneTimeSession session)
          Garlic wrap a message from nobody, destined for an unknown router, to hide the contents from the IBGW.
(package private) static GarlicMessage MessageWrapper.wrap(RouterContext ctx, I2NPMessage m, RouterInfo to)
          Garlic wrap a message from nobody, destined for a router, to hide the contents from the OBEP.
static GarlicMessage MessageWrapper.wrap(RouterContext ctx, I2NPMessage m, SessionKey encryptKey, SessionTag encryptTag)
          Garlic wrap a message from nobody, destined for an unknown router, to hide the contents from the IBGW.
 

Constructors in net.i2p.router.networkdb.kademlia with parameters of type RouterContext
ExpireLeasesJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade)
           
ExpireRoutersJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade)
           
ExploreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key)
          Create a new search for the routingKey specified
ExploreKeySelectorJob(RouterContext context, KademliaNetworkDatabaseFacade facade)
          Deprecated.  
FloodfillDatabaseLookupMessageHandler(RouterContext context, FloodfillNetworkDatabaseFacade facade)
           
FloodfillDatabaseStoreMessageHandler(RouterContext context, FloodfillNetworkDatabaseFacade facade)
           
FloodfillMonitorJob(RouterContext context, FloodfillNetworkDatabaseFacade facade)
           
FloodfillNetworkDatabaseFacade(RouterContext context)
           
FloodfillPeerSelector(RouterContext ctx)
           
FloodfillRouterInfoFloodJob(RouterContext context, FloodfillNetworkDatabaseFacade facade)
           
FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs)
          Send a data structure to the floodfills
FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip)
           
FloodfillVerifyStoreJob(RouterContext ctx, Hash key, long published, boolean isRouterInfo, Hash sentTo, FloodfillNetworkDatabaseFacade facade)
          Delay a few seconds, then start the verify
FloodOnlyLookupMatchJob(RouterContext ctx, FloodSearchJob job)
           
FloodOnlyLookupSelector(RouterContext ctx, FloodOnlySearchJob search)
           
FloodOnlyLookupTimeoutJob(RouterContext ctx, FloodSearchJob job)
           
FloodOnlySearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease)
           
FloodSearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease)
           
HandleFloodfillDatabaseLookupMessageJob(RouterContext ctx, DatabaseLookupMessage receivedMessage, RouterIdentity from, Hash fromHash)
           
HandleFloodfillDatabaseStoreMessageJob(RouterContext ctx, DatabaseStoreMessage receivedMessage, RouterIdentity from, Hash fromHash, FloodfillNetworkDatabaseFacade facade)
           
IterativeFollowupJob(RouterContext ctx, Hash key, Hash to, IterativeSearchJob search)
           
IterativeLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm, IterativeSearchJob search)
           
IterativeLookupSelector(RouterContext ctx, IterativeSearchJob search)
           
IterativeSearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease)
          Lookup using exploratory tunnels
IterativeSearchJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade, Hash key, Job onFind, Job onFailed, int timeoutMs, boolean isLease, Hash fromLocalDest)
          Lookup using the client's tunnels.
IterativeTimeoutJob(RouterContext ctx, Hash peer, IterativeSearchJob job)
           
KademliaNetworkDatabaseFacade(RouterContext context)
           
NegativeLookupCache(RouterContext context)
           
PeerSelector(RouterContext ctx)
           
PersistentDataStore(RouterContext ctx, String dbDir, KademliaNetworkDatabaseFacade facade)
           
RefreshRoutersJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade)
           
RepublishLeaseSetJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade, Hash destHash)
           
SearchJob.FailedJob(RouterContext enclosingContext, RouterInfo peer)
           
SearchJob.FailedJob(RouterContext enclosingContext, RouterInfo peer, boolean penalizePeer)
          Allow the choice as to whether failed searches should count against the peer (such as if we search for a random key)
SearchJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, Job onSuccess, Job onFailure, long timeoutMs, boolean keepStats, boolean isLease)
          Create a new search for the routingKey specified
SearchMessageSelector(RouterContext context, RouterInfo peer, long expiration, SearchState state)
           
SearchReplyJob(RouterContext enclosingContext, SearchJob job, DatabaseSearchReplyMessage message, Hash peer, long duration)
           
SearchState(RouterContext context, Hash key)
           
SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job)
           
SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job, TunnelInfo outTunnel, TunnelInfo replyTunnel)
           
SingleLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm)
           
SingleSearchJob(RouterContext ctx, Hash key, Hash to)
           
StartExplorersJob(RouterContext context, KademliaNetworkDatabaseFacade facade)
           
StoreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs)
          Send a data structure to the floodfills
StoreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip)
           
StoreMessageSelector(RouterContext ctx, long storeJobId, RouterInfo peer, long waitingForId, long expiration)
           
StoreState(RouterContext ctx, Hash key, DatabaseEntry data)
           
StoreState(RouterContext ctx, Hash key, DatabaseEntry data, Set<Hash> toSkip)
           
TransientDataStore(RouterContext ctx)
           
 

Uses of RouterContext in net.i2p.router.networkdb.reseed
 

Constructors in net.i2p.router.networkdb.reseed with parameters of type RouterContext
ReseedChecker(RouterContext context)
          All reseeding must be done through this instance.
Reseeder(RouterContext ctx, ReseedChecker rc)
           
 

Uses of RouterContext in net.i2p.router.peermanager
 

Methods in net.i2p.router.peermanager that return RouterContext
(package private)  RouterContext PeerProfile.getContext()
          Helper for calculators
 

Constructors in net.i2p.router.peermanager with parameters of type RouterContext
DBHistory(RouterContext context, String statGroup)
           
PeerManager(RouterContext context)
          Profiles are now loaded in a separate thread, so this should return quickly.
PeerManagerFacadeImpl(RouterContext ctx)
           
PeerProfile(RouterContext context, Hash peer)
           
PeerTestJob(RouterContext context)
          Creates a new instance of PeerTestJob
ProfileManagerImpl(RouterContext context)
           
ProfileOrganizer(RouterContext context)
           
ProfilePersistenceHelper(RouterContext ctx)
           
TunnelHistory(RouterContext context, String statGroup)
           
 

Uses of RouterContext in net.i2p.router.startup
 

Methods in net.i2p.router.startup with parameters of type RouterContext
(package private) static Certificate CreateRouterInfoJob.createCertificate(RouterContext ctx, SigningPublicKey spk)
          Only called at startup via LoadRouterInfoJob and RebuildRouterInfoJob.
static List<ClientAppConfig> ClientAppConfig.getClientApps(RouterContext ctx)
           
(package private) static long CreateRouterInfoJob.getCurrentPublishDate(RouterContext context)
          We probably don't want to expose the exact time at which a router published its info.
static SigType CreateRouterInfoJob.getSigTypeConfig(RouterContext ctx)
          The configured SigType to expect on read-in
static void MigrateJetty.migrate(RouterContext ctx, List<ClientAppConfig> apps)
          For each entry in apps, if the main class is an old Jetty class, migrate it to the new Jetty class, and update the Jetty config files.
static void LoadClientAppsJob.runClient(String className, String clientName, String[] args, RouterContext ctx, Log log)
          Run client in a new thread.
static void LoadClientAppsJob.runClient(String className, String clientName, String[] args, RouterContext ctx, Log log, ThreadGroup threadGroup, ClassLoader cl)
          Run client in a new thread.
static void ClientAppConfig.writeClientAppConfig(RouterContext ctx, List<ClientAppConfig> apps)
          classpath and stopargs not supported
 

Constructors in net.i2p.router.startup with parameters of type RouterContext
BootCommSystemJob(RouterContext context)
           
BootNetworkDbJob(RouterContext ctx)
           
BootPeerManagerJob(RouterContext ctx)
           
BuildTrustedLinksJob(RouterContext context, Job next)
           
CreateRouterInfoJob(RouterContext ctx, Job next)
           
LoadClientAppsJob.DelayedRunClient(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args)
          caller MUST call schedule()
LoadClientAppsJob.DelayedRunClient(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args, ThreadGroup threadGroup, ClassLoader cl)
          caller MUST call schedule()
LoadClientAppsJob(RouterContext ctx)
           
LoadRouterInfoJob(RouterContext ctx)
           
RebuildRouterInfoJob(RouterContext context)
           
RouterAppManager(RouterContext ctx)
           
StartAcceptingClientsJob(RouterContext context)
           
StartupJob(RouterContext context)
           
 

Uses of RouterContext in net.i2p.router.tasks
 

Methods in net.i2p.router.tasks with parameters of type RouterContext
static void CryptoChecker.warnUnavailableCrypto(RouterContext ctx)
           
 

Constructors in net.i2p.router.tasks with parameters of type RouterContext
CoalesceStatsEvent(RouterContext ctx)
           
GracefulShutdown(RouterContext ctx)
           
OOMListener(RouterContext ctx)
           
PersistRouterInfoJob(RouterContext ctx)
           
ReadConfigJob(RouterContext ctx)
           
Republish(RouterContext ctx)
           
Restarter(RouterContext ctx)
           
RouterWatchdog(RouterContext ctx)
           
ShutdownHook(RouterContext ctx)
           
UpdateRoutingKeyModifierJob(RouterContext ctx)
           
 

Uses of RouterContext in net.i2p.router.transport
 

Fields in net.i2p.router.transport declared as RouterContext
protected  RouterContext TransportImpl._context
           
 

Methods in net.i2p.router.transport with parameters of type RouterContext
(package private) static void GetBidsJob.fail(RouterContext context, OutNetMessage msg)
           
(package private) static void GetBidsJob.getBids(RouterContext context, TransportManager tmgr, OutNetMessage msg)
           
static TransportUtil.IPv6Config TransportUtil.getIPv6Config(RouterContext ctx, String transportStyle)
           
static boolean TransportUtil.isIPv4Firewalled(RouterContext ctx, String transportStyle)
           
static boolean TransportManager.isNTCPEnabled(RouterContext ctx)
           
 

Constructors in net.i2p.router.transport with parameters of type RouterContext
CommSystemFacadeImpl(RouterContext context)
           
GetBidsJob(RouterContext ctx, TransportManager tmgr, OutNetMessage msg)
          Deprecated. unused, see static getBids()
OutboundMessageRegistry(RouterContext context)
           
TransportImpl(RouterContext context)
          Initialize the new transport
TransportManager(RouterContext context)
           
UPnPManager(RouterContext context, TransportManager manager)
           
 

Uses of RouterContext in net.i2p.router.transport.ntcp
 

Constructors in net.i2p.router.transport.ntcp with parameters of type RouterContext
EstablishState(RouterContext ctx, NTCPTransport transport, NTCPConnection con)
           
EventPumper(RouterContext ctx, NTCPTransport transport)
           
NTCPConnection(RouterContext ctx, NTCPTransport transport, RouterIdentity remotePeer, RouterAddress remAddr)
          Create an outbound unconnected NTCP connection
NTCPConnection(RouterContext ctx, NTCPTransport transport, SocketChannel chan, SelectionKey key)
          Create an inbound connected (though not established) NTCP connection
NTCPTransport(RouterContext ctx, DHSessionKeyBuilder.Factory dh)
           
Reader(RouterContext ctx)
           
Writer(RouterContext ctx)
           
 

Uses of RouterContext in net.i2p.router.transport.udp
 

Methods in net.i2p.router.transport.udp with parameters of type RouterContext
static UDPPacket UDPPacket.acquire(RouterContext ctx, boolean inbound)
           
static int UDPEndpoint.selectRandomPort(RouterContext ctx)
          Pick a random port between the configured boundaries
 

Constructors in net.i2p.router.transport.udp with parameters of type RouterContext
ACKSender(RouterContext ctx, UDPTransport transport)
           
EstablishmentManager(RouterContext ctx, UDPTransport transport)
           
InboundEstablishState(RouterContext ctx, byte[] remoteIP, int remotePort, int localPort, DHSessionKeyBuilder dh)
           
InboundMessageFragments(RouterContext ctx, OutboundMessageFragments outbound, UDPTransport transport)
           
InboundMessageState(RouterContext ctx, long messageId, Hash from)
           
InboundMessageState(RouterContext ctx, long messageId, Hash from, UDPPacketReader.DataReader data, int dataFragment)
          Create a new IMS and read in the data from the fragment.
IntroductionManager(RouterContext ctx, UDPTransport transport)
           
MessageReceiver(RouterContext ctx, UDPTransport transport)
           
OutboundEstablishState(RouterContext ctx, RemoteHostId claimedAddress, RemoteHostId remoteHostId, RouterIdentity remotePeer, SessionKey introKey, UDPAddress addr, DHSessionKeyBuilder.Factory dh)
           
OutboundMessageFragments(RouterContext ctx, UDPTransport transport, OutboundMessageFragments.ActiveThrottle throttle)
           
OutboundRefiller(RouterContext ctx, OutboundMessageFragments fragments, MessageQueue messages)
           
PacketBuilder(RouterContext ctx, UDPTransport transport)
           
PacketHandler(RouterContext ctx, UDPTransport transport, EstablishmentManager establisher, InboundMessageFragments inbound, PeerTestManager testManager, IntroductionManager introManager)
           
PacketPusher(RouterContext ctx, OutboundMessageFragments fragments, List<UDPEndpoint> endpoints)
           
PeerState(RouterContext ctx, UDPTransport transport, byte[] remoteIP, int remotePort, Hash remotePeer, boolean isInbound)
           
PeerTestManager(RouterContext context, UDPTransport transport)
          Have seen peer tests (as Alice) get stuck (_currentTest != null) so I've thrown some synchronizization on the methods; don't know the root cause or whether this fixes it
TimedWeightedPriorityMessageQueue(RouterContext ctx, int[] priorityLimits, int[] weighting, TimedWeightedPriorityMessageQueue.FailedListener lsnr)
          Build up a new queue
UDPEndpoint(RouterContext ctx, UDPTransport transport, int listenPort, InetAddress bindAddress)
           
UDPReceiver(RouterContext ctx, UDPTransport transport, DatagramSocket socket, String name, SocketListener lsnr)
           
UDPSender(RouterContext ctx, DatagramSocket socket, String name, SocketListener lsnr)
           
UDPTransport(RouterContext ctx, DHSessionKeyBuilder.Factory dh)
           
 

Uses of RouterContext in net.i2p.router.tunnel
 

Fields in net.i2p.router.tunnel declared as RouterContext
protected  RouterContext TunnelCreatorConfig._context
           
protected  RouterContext TrivialPreprocessor._context
           
protected  RouterContext FragmentHandler._context
           
protected  RouterContext TunnelGateway._context
           
 

Methods in net.i2p.router.tunnel with parameters of type RouterContext
static int TunnelDispatcher.getShareBandwidth(RouterContext ctx)
           
 

Constructors in net.i2p.router.tunnel with parameters of type RouterContext
BatchedPreprocessor(RouterContext ctx, String name)
           
BatchedRouterPreprocessor(RouterContext ctx, HopConfig cfg)
          for IBGWs
BatchedRouterPreprocessor(RouterContext ctx, TunnelCreatorConfig cfg)
          for OBGWs
BloomFilterIVValidator(RouterContext ctx, int KBps)
           
FragmentHandler(RouterContext context, FragmentHandler.DefragmentedReceiver receiver)
           
InboundEndpointProcessor(RouterContext ctx, TunnelCreatorConfig cfg)
          Deprecated. unused
InboundEndpointProcessor(RouterContext ctx, TunnelCreatorConfig cfg, IVValidator validator)
           
InboundGatewayReceiver(RouterContext ctx, HopConfig cfg)
           
InboundMessageDistributor(RouterContext ctx, Hash client)
           
OutboundMessageDistributor(RouterContext ctx, int priority)
           
OutboundReceiver(RouterContext ctx, TunnelCreatorConfig cfg)
           
OutboundTunnelEndpoint(RouterContext ctx, HopConfig config, HopProcessor processor)
           
PumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper)
           
RouterFragmentHandler(RouterContext context, FragmentHandler.DefragmentedReceiver receiver)
           
ThrottledPumpedTunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver, TunnelGatewayPumper pumper, HopConfig config)
           
TrivialPreprocessor(RouterContext ctx)
           
TrivialRouterPreprocessor(RouterContext ctx)
          Deprecated.  
TunnelCreatorConfig(RouterContext ctx, int length, boolean isInbound)
           
TunnelCreatorConfig(RouterContext ctx, int length, boolean isInbound, Hash destination)
           
TunnelDispatcher(RouterContext ctx)
          Creates a new instance of TunnelDispatcher
TunnelGateway(RouterContext context, TunnelGateway.QueuePreprocessor preprocessor, TunnelGateway.Sender sender, TunnelGateway.Receiver receiver)
           
TunnelGatewayPumper(RouterContext ctx)
          Creates a new instance of TunnelGatewayPumper
TunnelGatewayZeroHop(RouterContext context, TunnelCreatorConfig config)
           
TunnelParticipant(RouterContext ctx, HopConfig config, HopProcessor processor)
          not an inbound endpoint
TunnelParticipant(RouterContext ctx, InboundEndpointProcessor inEndProc)
          inbound endpoint
 

Uses of RouterContext in net.i2p.router.tunnel.pool
 

Fields in net.i2p.router.tunnel.pool declared as RouterContext
protected  RouterContext TunnelPool._context
           
protected  RouterContext TunnelPeerSelector.ctx
           
 

Methods in net.i2p.router.tunnel.pool with parameters of type RouterContext
static boolean BuildRequestor.request(RouterContext ctx, TunnelPool pool, PooledTunnelCreatorConfig cfg, BuildExecutor exec)
          Send out a build request message.
static boolean TunnelPeerSelector.shouldExclude(RouterContext ctx, RouterInfo peer)
          warning, this is also called by ProfileOrganizer.isSelectable()
 

Constructors in net.i2p.router.tunnel.pool with parameters of type RouterContext
AliasedTunnelPool(RouterContext ctx, TunnelPoolManager mgr, TunnelPoolSettings settings, TunnelPool aliasOf)
           
BuildExecutor(RouterContext ctx, TunnelPoolManager mgr)
           
BuildHandler(RouterContext ctx, TunnelPoolManager manager, BuildExecutor exec)
           
ClientPeerSelector(RouterContext context)
           
ExpireJob(RouterContext ctx, TunnelCreatorConfig cfg, TunnelPool pool)
           
ExploratoryPeerSelector(RouterContext context)
           
ParticipatingThrottler(RouterContext ctx)
           
PooledTunnelCreatorConfig(RouterContext ctx, int length, boolean isInbound)
          Creates a new instance of PooledTunnelCreatorConfig
PooledTunnelCreatorConfig(RouterContext ctx, int length, boolean isInbound, Hash destination)
           
RequestThrottler(RouterContext ctx)
           
TestJob(RouterContext ctx, PooledTunnelCreatorConfig cfg, TunnelPool pool)
           
TunnelPeerSelector(RouterContext context)
           
TunnelPool(RouterContext ctx, TunnelPoolManager mgr, TunnelPoolSettings settings, TunnelPeerSelector sel)
           
TunnelPoolManager(RouterContext ctx)
           
 

Uses of RouterContext in net.i2p.router.update
 

Fields in net.i2p.router.update declared as RouterContext
protected  RouterContext UpdateHandler._context
           
protected  RouterContext UpdateRunner._context
           
 

Constructors in net.i2p.router.update with parameters of type RouterContext
ConsoleUpdateManager(RouterContext ctx, ClientAppManager listener, String[] args)
           
DevSU3UpdateChecker(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris)
           
DevSU3UpdateHandler(RouterContext ctx, ConsoleUpdateManager mgr)
           
DevSU3UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris)
           
DummyHandler(RouterContext ctx, ConsoleUpdateManager mgr)
           
NewsFetcher(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris)
           
NewsHandler(RouterContext ctx, ConsoleUpdateManager mgr)
           
NewsTimerTask(RouterContext ctx, ConsoleUpdateManager mgr)
           
PluginUpdateChecker(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, String appName, String oldVersion)
           
PluginUpdateHandler(RouterContext ctx, ConsoleUpdateManager mgr)
           
PluginUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, String appName, String oldVersion)
           
UnsignedUpdateChecker(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, long lastUpdateTime)
           
UnsignedUpdateHandler(RouterContext ctx, ConsoleUpdateManager mgr)
           
UnsignedUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris)
           
UpdateHandler(RouterContext ctx, ConsoleUpdateManager mgr)
           
UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, List<URI> uris)
          Uses router version for partial checks
UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, List<URI> uris, String currentVersion)
           
UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris)
          Uses router version for partial checks
UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris, String currentVersion)
           
 

Uses of RouterContext in net.i2p.router.util
 

Fields in net.i2p.router.util declared as RouterContext
protected  RouterContext RouterPasswordManager._context
           
 

Constructors in net.i2p.router.util with parameters of type RouterContext
RouterPasswordManager(RouterContext ctx)
          // migrate these to b64 private static final String[] MIGRATE_FROM = { // This has a separate router.reseedProxy.username prop, // so let's not mess with it "router.reseedProxy.password", // Don't migrate these until we have a console form for them, // which we aren't likely to ever bother with "routerconsole.keyPassword", "routerconsole.keystorePassword", "i2cp.keyPassword", "i2cp.keystorePassword" }; private static final String[] MIGRATE_TO = { "router.reseedProxy.auth", "routerconsole.ssl.key.auth", "routerconsole.ssl.keystore.auth", "i2cp.ssl.key.auth", "i2cp.ssl.keystore.auth" };
 

Uses of RouterContext in net.i2p.router.web
 

Fields in net.i2p.router.web declared as RouterContext
protected  RouterContext UpdateHandler._context
           
protected  RouterContext FormHandler._context
           
protected  RouterContext HelperBase._context
           
protected  RouterContext PluginStarter._context
           
 

Methods in net.i2p.router.web that return RouterContext
static RouterContext ContextHelper.getContext(String contextId)
           
 

Methods in net.i2p.router.web with parameters of type RouterContext
(package private) static WebAppContext WebAppStarter.addWebApp(RouterContext ctx, ContextHandlerCollection server, String appName, String warPath, File tmpdir)
          add but don't start This is used only by RouterConsoleRunner, which adds all the webapps first and then starts all at once.
(package private) static Collection<HomeHelper.App> HomeHelper.buildApps(RouterContext ctx, String config)
           
(package private) static boolean PluginStarter.deletePlugin(RouterContext ctx, String appName)
           
static boolean NewsHelper.dontInstall(RouterContext ctx)
           
(package private) static void RouterConsoleRunner.initialize(RouterContext ctx, WebAppContext context)
          Set up basic security constraints for the webapp.
static boolean NewsHelper.isBaseReadonly(RouterContext ctx)
           
static boolean NewsHelper.isDevSU3UpdateAvailable(RouterContext ctx)
          Will be false if already downloaded or if dev update disabled.
static boolean PluginStarter.isPluginRunning(String pluginName, RouterContext ctx)
           
static boolean NewsHelper.isUnsignedUpdateAvailable(RouterContext ctx)
          Will be false if already downloaded or if dev update disabled.
static boolean NewsHelper.isUpdateDisabled(RouterContext ctx)
           
static long NewsHelper.lastChecked(RouterContext ctx)
           
static long NewsHelper.lastUpdated(RouterContext ctx)
          When the news was last downloaded
(package private) static void ConfigServiceHandler.registerSignalHandler(RouterContext ctx)
          Register a handler for signals, so we can handle HUP from the wrapper (non-Windows only, wrapper 3.2.0 or higher)
static void ConfigServiceHandler.registerWrapperNotifier(RouterContext ctx, int code, boolean rekey)
          Register two shutdown hooks, one to rekey and/or tell the wrapper we are stopping, and a final one to tell the wrapper we are stopped.
(package private) static void HomeHelper.saveApps(RouterContext ctx, String prop, Collection<HomeHelper.App> apps, boolean full)
           
(package private) static void SummaryHelper.saveSummaryBarSections(RouterContext ctx, String page, Map<Integer,String> sections)
           
static boolean NewsHelper.shouldShowNews(RouterContext ctx)
           
static void NewsHelper.showNews(RouterContext ctx, boolean yes)
          Save config with the timestamp of the current news to hide, or 0 to show
static boolean PluginStarter.startPlugin(RouterContext ctx, String appName)
           
(package private) static void PluginStarter.startPlugins(RouterContext ctx)
          this shouldn't throw anything
(package private) static void WebAppStarter.startWebApp(RouterContext ctx, ContextHandlerCollection server, String appName, String warPath)
          adds and starts
static String NewsHelper.status(RouterContext ctx)
           
static boolean PluginStarter.stopPlugin(RouterContext ctx, String appName)
           
static void RouterConsoleRunner.storeWebAppProperties(RouterContext ctx, Properties props)
           
(package private) static void PluginStarter.updateAll(RouterContext ctx)
          threaded
static ConsoleUpdateManager UpdateHandler.updateManager(RouterContext ctx)
           
 

Constructors in net.i2p.router.web with parameters of type RouterContext
BanlistRenderer(RouterContext context)
           
ConsolePasswordManager(RouterContext ctx)
           
NetDbRenderer(RouterContext ctx)
           
PluginStarter(RouterContext ctx)
           
PluginStopper(RouterContext ctx)
           
ProfileOrganizerRenderer(ProfileOrganizer organizer, RouterContext context)
           
ReseedBundler(RouterContext ctx)
           
ReseedHandler(RouterContext ctx)
           
RouterConsoleRunner(RouterContext ctx, ClientAppManager mgr, String[] args)
           non-SSL: RouterConsoleRunner RouterConsoleRunner 7657 RouterConsoleRunner 7657 127.0.0.1 RouterConsoleRunner 7657 127.0.0.1,::1 RouterConsoleRunner 7657 127.0.0.1,::1 ./webapps/ SSL: RouterConsoleRunner -s 7657 RouterConsoleRunner -s 7657 127.0.0.1 RouterConsoleRunner -s 7657 127.0.0.1,::1 RouterConsoleRunner -s 7657 127.0.0.1,::1 ./webapps/ If using both, non-SSL must be first: RouterConsoleRunner 7657 127.0.0.1 -s 7667 RouterConsoleRunner 7657 127.0.0.1 -s 7667 127.0.0.1 RouterConsoleRunner 7657 127.0.0.1,::1 -s 7667 127.0.0.1,::1 RouterConsoleRunner 7657 127.0.0.1,::1 -s 7667 127.0.0.1,::1 ./webapps/
StatsGenerator(RouterContext context)
           
SummaryBarRenderer(RouterContext context, SummaryHelper helper)
           
TunnelRenderer(RouterContext ctx)
           
UpdateHandler(RouterContext ctx)
           
WrapperListener(RouterContext ctx)
          Wrapper must be 3.2.0 or higher, or will throw class not found error.