Uses of Class
org.drasyl.identity.Identity
-
Packages that use Identity Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.behaviour DescribesDrasylNode
s as finite state machines.org.drasyl.event Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.org.drasyl.identity Contains classes to manage theIdentity
of the drasyl node.org.drasyl.peer Package contains classes that are used for communicating with other peers.org.drasyl.pipeline Link between application and drasyl overlay network.org.drasyl.plugin Flexible extensions of drasyl via plugins that can be loaded into the pipeline together with user-defined settings. -
-
Uses of Identity in org.drasyl
Methods in org.drasyl that return Identity Modifier and Type Method Description Identity
DrasylNode. identity()
Returns theIdentity
of this node.Constructors in org.drasyl with parameters of type Identity Constructor Description DrasylNode(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PluginManager pluginManager, AtomicReference<CompletableFuture<Void>> startFuture, AtomicReference<CompletableFuture<Void>> shutdownFuture, io.reactivex.rxjava3.core.Scheduler scheduler)
-
Uses of Identity in org.drasyl.behaviour
Constructors in org.drasyl.behaviour with parameters of type Identity Constructor Description BehavioralDrasylNode(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PluginManager pluginManager, AtomicReference<CompletableFuture<Void>> startFuture, AtomicReference<CompletableFuture<Void>> shutdownFuture, io.reactivex.rxjava3.core.Scheduler scheduler)
BehavioralDrasylNode(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PluginManager pluginManager, AtomicReference<CompletableFuture<Void>> startFuture, AtomicReference<CompletableFuture<Void>> shutdownFuture, io.reactivex.rxjava3.core.Scheduler scheduler, Behavior behavior)
-
Uses of Identity in org.drasyl.event
Methods in org.drasyl.event that return Identity Modifier and Type Method Description abstract Identity
Node. getIdentity()
Returns the node's identity.Methods in org.drasyl.event with parameters of type Identity Modifier and Type Method Description static Node
Node. of(Identity identity)
static Node
Node. of(Identity identity, int port)
static Node
Node. of(Identity identity, int port, int tcpFallbackPort)
-
Uses of Identity in org.drasyl.identity
Methods in org.drasyl.identity that return Identity Modifier and Type Method Description static Identity
IdentityManager. generateIdentity()
Generates a new random identity.Identity
IdentityManager. getIdentity()
static Identity
Identity. of(int proofOfWork, String identityPublicKey, String identitySecretKey)
static Identity
Identity. of(int proofOfWork, KeyPair<IdentityPublicKey,IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey,KeyAgreementSecretKey> keyAgreementKeyPair)
static Identity
Identity. of(ProofOfWork proofOfWork, String identityPublicKey, String identitySecretKey)
static Identity
Identity. of(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey)
static Identity
Identity. of(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey,IdentitySecretKey> identityKeyPair)
static Identity
Identity. of(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey,IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey,KeyAgreementSecretKey> keyAgreementKeyPair)
-
Uses of Identity in org.drasyl.peer
Constructors in org.drasyl.peer with parameters of type Identity Constructor Description PeersManager(Consumer<Event> eventConsumer, Identity identity)
-
Uses of Identity in org.drasyl.pipeline
Fields in org.drasyl.pipeline declared as Identity Modifier and Type Field Description protected Identity
AbstractPipeline. identity
Methods in org.drasyl.pipeline that return Identity Modifier and Type Method Description Identity
HandlerContext. identity()
Returns the identity of this node.Constructors in org.drasyl.pipeline with parameters of type Identity Constructor Description AbstractPipeline(Map<String,org.drasyl.pipeline.AbstractHandlerContext> handlerNames, DrasylScheduler dependentScheduler, DrasylScheduler independentScheduler, DrasylConfig config, Identity identity, PeersManager peersManager, Serialization inboundSerialization, Serialization outboundSerialization, Semaphore outboundMessagesBuffer)
DefaultHandlerContext(String name, Handler handler, DrasylConfig config, Pipeline pipeline, DrasylScheduler dependentScheduler, DrasylScheduler independentScheduler, Identity identity, PeersManager peersManager, Serialization inboundSerialization, Serialization outboundSerialization)
Generates a new default handler context for the givenhandler
.DrasylPipeline(Consumer<Event> eventConsumer, DrasylConfig config, Identity identity, PeersManager peersManager)
EmbeddedPipeline(DrasylConfig config, Identity identity, PeersManager peersManager, Handler... handlers)
Creates a new embedded pipeline and adds all given handler to it. -
Uses of Identity in org.drasyl.plugin
Methods in org.drasyl.plugin that return Identity Modifier and Type Method Description Identity
PluginEnvironment. getIdentity()
Constructors in org.drasyl.plugin with parameters of type Identity Constructor Description PluginEnvironment(DrasylConfig config, Identity identity, Pipeline pipeline)
PluginManager(DrasylConfig config, Identity identity, Pipeline pipeline)
-