Package net.i2p.router.message
Class GarlicMessageReceiver
java.lang.Object
net.i2p.router.message.GarlicMessageReceiver
public class GarlicMessageReceiver extends Object
Decrypt a garlic message and pass off any valid cloves to the configured
receiver to dispatch as they choose.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GarlicMessageReceiver.CloveReceiver
-
Constructor Summary
Constructors Constructor Description GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver)
GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver, Hash clientDestination)
-
Method Summary
Modifier and Type Method Description void
receive(GarlicMessage message)
-
Constructor Details
-
GarlicMessageReceiver
- Parameters:
receiver
- non-null
-
GarlicMessageReceiver
public GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver, Hash clientDestination)- Parameters:
receiver
- non-null
-
-
Method Details