Package net.i2p.router.message

Creates and parses garlic messages. Creates the source routing for outbound messages.

  • Interface Summary 
    Interface Description
    GarlicMessageReceiver.CloveReceiver  
  • Class Summary 
    Class Description
    CloveSet
    Wrap up the data contained in a GarlicMessage after being decrypted
    GarlicConfig
    Define the contents of a garlic chunk that contains 1 or more sub garlics.
    GarlicMessageBuilder
    Build garlic messages based on a GarlicConfig
    GarlicMessageHandler
    HandlerJobBuilder to build jobs to handle GarlicMessages This is the handler for garlic message not received down a tunnel, which is the case for floodfills receiving netdb messages.
    GarlicMessageParser
    Read a GarlicMessage, decrypt it, and return the resulting CloveSet.
    GarlicMessageReceiver
    Decrypt a garlic message and pass off any valid cloves to the configured receiver to dispatch as they choose.
    HandleGarlicMessageJob
    Unencrypt a garlic message and handle each of the cloves - locally destined messages are tossed into the inbound network message pool so they're handled as if they arrived locally.
    OutboundCache
    Helper for OCMOSJ This is the place where we make I2P go fast.
    OutboundCache.HashPair
    Key used to cache things with based on source + dest
    OutboundClientMessageJobHelper
    Static methods to create a Garlic Message with one or more cloves, as follows:
    OutboundClientMessageOneShotJob
    Send a client message out an outbound tunnel and into an inbound tunnel on the target leaseSet.
    PayloadGarlicConfig
    Garlic config for a single clove, containing an I2NP message and no sub-cloves.
    SendMessageDirectJob
    Send a message directly to another router, i.e.