Class SimplePathRecipe
java.lang.Object
net.messagevortex.blender.recipes.BlenderRecipe
net.messagevortex.blender.recipes.SimplePathRecipe
- All Implemented Interfaces:
Comparable<BlenderRecipe>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyRecipe(Set<IdentityStoreBlock> anonSet, IdentityStoreBlock from, IdentityStoreBlock to) Creates a routing block with the given parameters.booleanisAppliable(Set<IdentityStoreBlock> anonSet) Tests if the given recipe may be applied to the anon set available.Methods inherited from class net.messagevortex.blender.recipes.BlenderRecipe
addRecipe, clearRecipes, compareTo, getRecipe
-
Constructor Details
-
SimplePathRecipe
-
-
Method Details
-
isAppliable
Description copied from class:BlenderRecipeTests if the given recipe may be applied to the anon set available.
- Specified by:
isAppliablein classBlenderRecipe- Parameters:
anonSet- the currently available anonymity set- Returns:
- true if the recipe may be applied
-
applyRecipe
public RoutingCombo applyRecipe(Set<IdentityStoreBlock> anonSet, IdentityStoreBlock from, IdentityStoreBlock to) Description copied from class:BlenderRecipeCreates a routing block with the given parameters.
- Specified by:
applyRecipein classBlenderRecipe- Parameters:
anonSet- the anonymity set to be usedfrom- the sending node addressto- the receiving node address- Returns:
- the built routing block
-