public class SimplePathRecipe extends BlenderRecipe
Constructor and Description |
---|
SimplePathRecipe(String section) |
Modifier and Type | Method and Description |
---|---|
RoutingCombo |
applyRecipe(Set<IdentityStoreBlock> anonSet,
IdentityStoreBlock from,
IdentityStoreBlock to)
Creates a routing block with the given parameters.
|
boolean |
isAppliable(Set<IdentityStoreBlock> anonSet)
Tests if the given recipe may be applied to the anon set available.
|
addRecipe, clearRecipes, compareTo, getRecipe
public SimplePathRecipe(String section)
public boolean isAppliable(Set<IdentityStoreBlock> anonSet)
BlenderRecipe
Tests if the given recipe may be applied to the anon set available.
isAppliable
in class BlenderRecipe
anonSet
- the currently available anonymity setpublic RoutingCombo applyRecipe(Set<IdentityStoreBlock> anonSet, IdentityStoreBlock from, IdentityStoreBlock to)
BlenderRecipe
Creates a routing block with the given parameters.
applyRecipe
in class BlenderRecipe
anonSet
- the anonymity set to be usedfrom
- the sending node addressto
- the receiving node addressCopyright © 2023. All rights reserved.