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)
-
-
-
Constructor Detail
-
GarlicMessageReceiver
public GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver)
- Parameters:
receiver
- non-null
-
GarlicMessageReceiver
public GarlicMessageReceiver(RouterContext context, GarlicMessageReceiver.CloveReceiver receiver, Hash clientDestination)
- Parameters:
receiver
- non-null
-
-
Method Detail
-
receive
public void receive(GarlicMessage message)
-
-