Packages that use MessageSelector
Package
Description
The I2P router application handles I2P network communication.
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Peer profiles and capacity calculation, peer test jobs, peer selection for tunnel building, and the database and tunnel history used for peer selection.
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Uses of MessageSelector in net.i2p.router
Fields in net.i2p.router declared as MessageSelectorModifier and TypeFieldDescriptionprivate MessageSelectorOutNetMessage._replySelectorSelector matching the expected reply.Methods in net.i2p.router that return MessageSelectorModifier and TypeMethodDescriptionOutNetMessage.getReplySelector()Defines a MessageSelector to find a reply to this message.Methods in net.i2p.router with parameters of type MessageSelectorModifier and TypeMethodDescriptionvoidOutNetMessage.setReplySelector(MessageSelector selector) The selector used to find a reply to this message.Uses of MessageSelector in net.i2p.router.message
Classes in net.i2p.router.message that implement MessageSelectorModifier and TypeClassDescriptionprivate static classKeep an eye out for any of the delivery status message tokens that have been sent down the various tunnels to deliver this message.Fields in net.i2p.router.message declared as MessageSelectorModifier and TypeFieldDescriptionprivate final MessageSelectorSendMessageDirectJob._selectorSelector matching the expected reply.Constructors in net.i2p.router.message with parameters of type MessageSelectorModifierConstructorDescriptionSendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, Job onSend, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority, long msgIDBloomXor) Send a message directly to a peer with full options.SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority) Send a message directly to a peer with reply handling.SendMessageDirectJob(RouterContext ctx, I2NPMessage message, Hash toPeer, ReplyJob onSuccess, Job onFail, MessageSelector selector, int timeoutMs, int priority, long msgIDBloomXor) Send a message directly to a peer with reply handling and XOR mask.Uses of MessageSelector in net.i2p.router.networkdb.kademlia
Classes in net.i2p.router.networkdb.kademlia that implement MessageSelectorModifier and TypeClassDescriptionprivate classMatches the reply to one verification query.(package private) classMessage selector for flood-only database lookup operations.(package private) classSlightly modified version of FloodOnlyLookupSelector.(package private) classMessage selector for matching search operation responses from specific peers.(package private) classMessage selector for matching database store operation confirmations.Fields in net.i2p.router.networkdb.kademlia declared as MessageSelectorModifier and TypeFieldDescriptionprotected final MessageSelectorFloodOnlySearchJob._replySelectorReply message selector.Uses of MessageSelector in net.i2p.router.peermanager
Classes in net.i2p.router.peermanager that implement MessageSelectorModifier and TypeClassDescriptionprivate classSimple selector looking for a dbStore of the peer specified.Uses of MessageSelector in net.i2p.router.transport
Fields in net.i2p.router.transport with type parameters of type MessageSelectorModifier and TypeFieldDescriptionprivate final List<MessageSelector> OutboundMessageRegistry._selectorsList of currently active MessageSelector instances.private final Map<MessageSelector, Object> OutboundMessageRegistry._selectorToMessageMap of active MessageSelector to either an OutNetMessage or a List of OutNetMessages causing it (for quick removal).Methods in net.i2p.router.transport with parameters of type MessageSelectorModifier and TypeMethodDescriptionOutboundMessageRegistry.registerPending(MessageSelector replySelector, ReplyJob onReply, Job onTimeout) Registers a new, empty OutNetMessage, with the reply and timeout jobs specified.voidOutboundMessageRegistry.CleanupTask.scheduleExpiration(MessageSelector sel) Reschedule the cleanup for the given selector's expiration.Uses of MessageSelector in net.i2p.router.tunnel.pool
Classes in net.i2p.router.tunnel.pool that implement MessageSelectorModifier and TypeClassDescriptionprivate classMatches the reply for one test message.