|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RouterContext | |
---|---|
net.i2p.data.i2np | The Invisible Internet Network Protocol (I2NP) is only a part of how an application can send messages over the network. |
net.i2p.router | |
net.i2p.router.client | |
net.i2p.router.message | |
net.i2p.router.networkdb | |
net.i2p.router.networkdb.kademlia | |
net.i2p.router.networkdb.reseed | |
net.i2p.router.peermanager | |
net.i2p.router.startup | |
net.i2p.router.transport | |
net.i2p.router.transport.ntcp | |
net.i2p.router.transport.udp | |
net.i2p.router.tunnel | |
net.i2p.router.tunnel.pool | |
net.i2p.router.web |
Uses of RouterContext in net.i2p.data.i2np |
---|
Constructors in net.i2p.data.i2np with parameters of type RouterContext | |
---|---|
GarlicClove(RouterContext context)
|
|
I2NPMessageReader(RouterContext context,
java.io.InputStream stream,
I2NPMessageReader.I2NPMessageEventListener lsnr)
|
|
I2NPMessageReader(RouterContext context,
java.io.InputStream stream,
I2NPMessageReader.I2NPMessageEventListener lsnr,
java.lang.String name)
|
Uses of RouterContext in net.i2p.router |
---|
Fields in net.i2p.router declared as RouterContext | |
---|---|
(package private) RouterContext |
RouterClock._contextRC
|
Methods in net.i2p.router that return RouterContext | |
---|---|
protected RouterContext |
RouterThrottleImpl.getContext()
|
RouterContext |
JobImpl.getContext()
|
RouterContext |
Router.getContext()
|
Methods in net.i2p.router that return types with arguments of type RouterContext | |
---|---|
static java.util.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 | |
---|---|
Blocklist(RouterContext context)
|
|
ClientMessagePool(RouterContext context)
|
|
DummyClientManagerFacade(RouterContext ctx)
|
|
DummyNetworkDatabaseFacade(RouterContext ctx)
|
|
InNetMessagePool(RouterContext context)
|
|
JobImpl(RouterContext context)
|
|
JobQueue(RouterContext context)
|
|
JobQueueRunner(RouterContext context,
int id)
|
|
JobTiming(RouterContext context)
|
|
KeyManager(RouterContext context)
|
|
MessageHistory(RouterContext context)
|
|
MessageStateMonitor(RouterContext context)
|
|
MessageValidator(RouterContext context)
|
|
OutNetMessage(RouterContext context)
|
|
OutNetMessagePool(RouterContext context)
|
|
PersistentKeyRing(RouterContext ctx)
|
|
RouterClock(RouterContext context)
|
|
RouterDoSThrottle(RouterContext context)
Deprecated. |
|
RouterThrottleImpl(RouterContext context)
|
|
RouterWatchdog(RouterContext ctx)
|
|
Shitlist(RouterContext context)
|
|
StatisticsManager(RouterContext context)
|
Uses of RouterContext in net.i2p.router.client |
---|
Fields in net.i2p.router.client declared as RouterContext | |
---|---|
protected RouterContext |
ClientListenerRunner._context
|
Uses of RouterContext in net.i2p.router.message |
---|
Methods in net.i2p.router.message with parameters of type RouterContext | |
---|---|
(package private) static PayloadGarlicConfig |
OutboundClientMessageJobHelper.buildDataClove(RouterContext ctx,
Payload data,
Destination dest,
long expiration)
Build a clove that sends the payload to the destination |
(package private) static PayloadGarlicConfig |
OutboundClientMessageJobHelper.buildLeaseSetClove(RouterContext ctx,
long expiration,
LeaseSet replyLeaseSet)
Build a clove that stores the leaseSet locally |
static GarlicMessage |
GarlicMessageBuilder.buildMessage(RouterContext ctx,
GarlicConfig config,
SessionKey wrappedKey,
java.util.Set<SessionTag> wrappedTags,
int numTagsToDeliver,
int lowTagsThreshold,
boolean forceElGamal,
SessionKeyManager skm)
called by netdb |
static GarlicMessage |
GarlicMessageBuilder.buildMessage(RouterContext ctx,
GarlicConfig config,
SessionKey wrappedKey,
java.util.Set<SessionTag> wrappedTags,
PublicKey target,
SessionKey encryptKey,
SessionTag encryptTag)
used by TestJob and directly above |
static GarlicMessage |
GarlicMessageBuilder.buildMessage(RouterContext ctx,
GarlicConfig config,
SessionKey wrappedKey,
java.util.Set<SessionTag> wrappedTags,
SessionKeyManager skm)
called by OCMJH |
(package private) static GarlicMessage |
OutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx,
long replyToken,
long expiration,
PublicKey recipientPK,
PayloadGarlicConfig dataClove,
Hash from,
Destination dest,
TunnelInfo replyTunnel,
SessionKey wrappedKey,
java.util.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 |
(package private) static GarlicMessage |
OutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx,
long replyToken,
long expiration,
PublicKey recipientPK,
Payload data,
Hash from,
Destination dest,
TunnelInfo replyTunnel,
SessionKey wrappedKey,
java.util.Set<SessionTag> wrappedTags,
boolean requireAck,
LeaseSet bundledReplyLeaseSet)
Build a garlic message that will be delivered to the router on which the target is located. |
static int |
GarlicMessageBuilder.estimateAvailableTags(RouterContext ctx,
PublicKey key,
Hash local)
|
Constructors in net.i2p.router.message with parameters of type RouterContext | |
---|---|
GarlicMessageHandler(RouterContext context)
|
|
GarlicMessageParser(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)
|
|
OutboundClientMessageOneShotJob(RouterContext ctx,
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 | |
---|---|
DatabaseLookupMessageHandler(RouterContext context)
|
|
DatabaseStoreMessageHandler(RouterContext context)
|
|
HandleDatabaseLookupMessageJob(RouterContext ctx,
DatabaseLookupMessage receivedMessage,
RouterIdentity from,
Hash fromHash)
|
|
HandleDatabaseStoreMessageJob(RouterContext ctx,
DatabaseStoreMessage 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 boolean |
FloodfillNetworkDatabaseFacade.floodfillEnabled(RouterContext ctx)
|
(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. |
Uses of RouterContext in net.i2p.router.networkdb.reseed |
---|
Methods in net.i2p.router.networkdb.reseed with parameters of type RouterContext | |
---|---|
static void |
ReseedChecker.checkReseed(RouterContext context,
int count)
|
Constructors in net.i2p.router.networkdb.reseed with parameters of type RouterContext | |
---|---|
Reseeder(RouterContext ctx)
|
Uses of RouterContext in net.i2p.router.peermanager |
---|
Constructors in net.i2p.router.peermanager with parameters of type RouterContext | |
---|---|
CapacityCalculator(RouterContext context)
|
|
DBHistory(RouterContext context,
java.lang.String statGroup)
|
|
IntegrationCalculator(RouterContext context)
|
|
PeerManager(RouterContext context)
|
|
PeerManagerFacadeImpl(RouterContext ctx)
|
|
PeerProfile(RouterContext context,
Hash peer)
|
|
PeerProfile(RouterContext context,
Hash peer,
boolean expand)
|
|
PeerTestJob(RouterContext context)
Creates a new instance of PeerTestJob |
|
ProfileManagerImpl(RouterContext context)
|
|
ProfileOrganizer(RouterContext context)
|
|
ProfilePersistenceHelper(RouterContext ctx)
|
|
SpeedCalculator(RouterContext context)
|
|
TunnelHistory(RouterContext context,
java.lang.String statGroup)
|
Uses of RouterContext in net.i2p.router.startup |
---|
Methods in net.i2p.router.startup with parameters of type RouterContext | |
---|---|
static java.util.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 void |
ClientAppConfig.writeClientAppConfig(RouterContext ctx,
java.util.List 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(RouterContext enclosingContext,
java.lang.String className,
java.lang.String clientName,
java.lang.String[] args,
long delay)
|
|
LoadClientAppsJob.DelayedRunClient(RouterContext enclosingContext,
java.lang.String className,
java.lang.String clientName,
java.lang.String[] args,
long delay,
java.lang.ThreadGroup threadGroup,
java.lang.ClassLoader cl)
|
|
LoadClientAppsJob(RouterContext ctx)
|
|
LoadRouterInfoJob(RouterContext ctx)
|
|
ReadConfigJob(RouterContext ctx)
|
|
RebuildRouterInfoJob(RouterContext context)
|
|
StartAcceptingClientsJob(RouterContext context)
|
|
StartupJob(RouterContext context)
|
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 that return RouterContext | |
---|---|
RouterContext |
TransportImpl.getContext()
|
Methods in net.i2p.router.transport with parameters of type RouterContext | |
---|---|
static RouterAddress |
CommSystemFacadeImpl.createNTCPAddress(RouterContext ctx)
This only creates an address if the hostname AND port are set in router.config, which should be rare. |
static boolean |
TransportManager.enableNTCP(RouterContext ctx)
|
(package private) static void |
GetBidsJob.getBids(RouterContext context,
CommSystemFacadeImpl facade,
OutNetMessage msg)
|
Constructors in net.i2p.router.transport with parameters of type RouterContext | |
---|---|
CommSystemFacadeImpl(RouterContext context)
|
|
GeoIP(RouterContext context)
|
|
GetBidsJob(RouterContext ctx,
CommSystemFacadeImpl facade,
OutNetMessage msg)
|
|
OutboundMessageRegistry(RouterContext context)
|
|
TransportImpl(RouterContext context)
Initialize the new transport |
|
TransportManager(RouterContext context)
|
|
UPnPManager(RouterContext context,
TransportManager manager)
|
|
VMCommSystem(RouterContext context)
|
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,
NTCPAddress remAddr)
Create an outbound unconnected NTCP connection |
|
NTCPConnection(RouterContext ctx,
NTCPTransport transport,
java.nio.channels.SocketChannel chan,
java.nio.channels.SelectionKey key)
Create an inbound connected (though not established) NTCP connection |
|
NTCPTransport(RouterContext ctx)
|
|
Reader(RouterContext ctx)
|
|
Writer(RouterContext ctx)
|
Uses of RouterContext in net.i2p.router.transport.udp |
---|
Uses of RouterContext in net.i2p.router.tunnel |
---|
Fields in net.i2p.router.tunnel declared as RouterContext | |
---|---|
protected RouterContext |
TrivialPreprocessor._context
|
protected RouterContext |
TunnelGateway._context
|
protected RouterContext |
FragmentHandler._context
|
protected RouterContext |
TunnelCreatorConfig._context
|
protected RouterContext |
BatchedRouterPreprocessor._routerContext
|
Uses of RouterContext in net.i2p.router.tunnel.pool |
---|
Methods in net.i2p.router.tunnel.pool with parameters of type RouterContext | |
---|---|
protected boolean |
TunnelPeerSelector.filterSlow(RouterContext ctx,
boolean isInbound,
boolean isExploratory)
|
protected boolean |
TunnelPeerSelector.filterUnreachable(RouterContext ctx,
boolean isInbound,
boolean isExploratory)
|
protected boolean |
TunnelPeerSelector.filterUptime(RouterContext ctx,
boolean isInbound,
boolean isExploratory)
do we want to skip peers who haven't been up for long? |
java.util.Set |
TunnelPeerSelector.getExclude(RouterContext ctx,
boolean isInbound,
boolean isExploratory)
Pick peers that we want to avoid |
protected int |
TunnelPeerSelector.getLength(RouterContext ctx,
TunnelPoolSettings settings)
|
static void |
BuildRequestor.request(RouterContext ctx,
TunnelPool pool,
PooledTunnelCreatorConfig cfg,
BuildExecutor exec)
|
protected java.util.List |
TunnelPeerSelector.selectExplicit(RouterContext ctx,
TunnelPoolSettings settings,
int length)
|
java.util.List |
ClientPeerSelector.selectPeers(RouterContext ctx,
TunnelPoolSettings settings)
|
abstract java.util.List |
TunnelPeerSelector.selectPeers(RouterContext ctx,
TunnelPoolSettings settings)
Which peers should go into the next tunnel for the given settings? |
java.util.List |
ExploratoryPeerSelector.selectPeers(RouterContext ctx,
TunnelPoolSettings settings)
|
static boolean |
TunnelPeerSelector.shouldExclude(RouterContext ctx,
RouterInfo peer)
|
Constructors in net.i2p.router.tunnel.pool with parameters of type RouterContext | |
---|---|
BuildExecutor(RouterContext ctx,
TunnelPoolManager mgr)
|
|
BuildHandler(RouterContext ctx,
BuildExecutor exec)
|
|
ExpireJob(RouterContext ctx,
TunnelCreatorConfig cfg,
TunnelPool pool)
|
|
PooledTunnelCreatorConfig(RouterContext ctx,
int length,
boolean isInbound)
Creates a new instance of PooledTunnelCreatorConfig |
|
PooledTunnelCreatorConfig(RouterContext ctx,
int length,
boolean isInbound,
Hash destination)
|
|
TestJob(RouterContext ctx,
PooledTunnelCreatorConfig cfg,
TunnelPool pool)
|
|
TunnelPool(RouterContext ctx,
TunnelPoolManager mgr,
TunnelPoolSettings settings,
TunnelPeerSelector sel)
|
|
TunnelPoolManager(RouterContext ctx)
|
Uses of RouterContext in net.i2p.router.web |
---|
Fields in net.i2p.router.web declared as RouterContext | |
---|---|
protected RouterContext |
PluginStarter._context
|
protected RouterContext |
HelperBase._context
|
protected RouterContext |
FormHandler._context
|
protected RouterContext |
UpdateHandler._context
|
Methods in net.i2p.router.web that return RouterContext | |
---|---|
static RouterContext |
ContextHelper.getContext(java.lang.String contextId)
|
Methods in net.i2p.router.web with parameters of type RouterContext | |
---|---|
(package private) static boolean |
PluginStarter.deletePlugin(RouterContext ctx,
java.lang.String appName)
|
static PluginUpdateChecker |
PluginUpdateChecker.getInstance(RouterContext ctx)
|
static PluginUpdateHandler |
PluginUpdateHandler.getInstance(RouterContext ctx)
|
static boolean |
PluginStarter.isPluginRunning(java.lang.String pluginName,
RouterContext ctx)
|
(package private) static boolean |
PluginStarter.startPlugin(RouterContext ctx,
java.lang.String appName)
|
(package private) static void |
PluginStarter.startPlugins(RouterContext ctx)
this shouldn't throw anything |
(package private) static boolean |
PluginStarter.stopPlugin(RouterContext ctx,
java.lang.String appName)
|
(package private) static void |
PluginStopper.stopPlugins(RouterContext ctx)
Stop all plugins (whether or not they were ever started) this shouldn't throw anything |
Constructors in net.i2p.router.web with parameters of type RouterContext | |
---|---|
NetDbRenderer(RouterContext ctx)
|
|
PluginStarter(RouterContext ctx)
|
|
PluginStopper(RouterContext ctx)
|
|
ProfileOrganizerRenderer(ProfileOrganizer organizer,
RouterContext context)
|
|
ReseedHandler(RouterContext ctx)
|
|
ShitlistRenderer(RouterContext context)
|
|
StatsGenerator(RouterContext context)
|
|
SummaryBarRenderer(RouterContext context,
SummaryHelper helper)
|
|
TunnelRenderer(RouterContext ctx)
|
|
UnsignedUpdateHandler(RouterContext ctx,
java.lang.String zipURL,
java.lang.String version)
|
|
UpdateHandler(RouterContext ctx)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |