Uses of Class
org.drasyl.identity.CompressedPublicKey
Packages that use CompressedPublicKey
Package
Description
Core API that includes the
DrasylNode
and DrasylConfig
.Contains events that inform the application about various states of the drasyl node, incoming
communication, or connection type changes.
Contains classes to manage the
Identity
of the drasyl node.Monitors various states or events in the drasyl node.
Package contains classes that are used for communicating with other peers.
Provides classes to manage connections to other peers.
Establishes direct connections to other peers.
netty handlers for peer connections.
Automatic discovery of other running drasyl nodes in the same JVM.
Uses the file system to discover other drasyl nodes running on the local computer.
Contains all message types that drasyl uses to configure the overlay network and transfer
application messages.
netty handlers dedicated for the server.
Link between application and drasyl overlay network.
Package contains classes that are used for encoding/decoding objects.
-
Uses of CompressedPublicKey in org.drasyl
Methods in org.drasyl that return CompressedPublicKeyModifier and TypeMethodDescriptionDrasylConfig.getIdentityPublicKey()
static CompressedPublicKey
DrasylConfig.getPublicKey
(com.typesafe.config.Config config, String path) Gets theCompressedPublicKey
at the given path.Methods in org.drasyl with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionDrasylConfig.Builder.identityPublicKey
(CompressedPublicKey identityPublicKey) DrasylNode.send
(CompressedPublicKey recipient, Object payload) Sends the content ofpayload
to the identityrecipient
. -
Uses of CompressedPublicKey in org.drasyl.event
Methods in org.drasyl.event that return CompressedPublicKeyModifier and TypeMethodDescriptionPeer.getPublicKey()
Returns the peer's public key.MessageEvent.getSender()
Returns the message's sender.Methods in org.drasyl.event with parameters of type CompressedPublicKeyConstructors in org.drasyl.event with parameters of type CompressedPublicKeyModifierConstructorDescriptionMessageEvent
(CompressedPublicKey sender, Object payload) Creates a newMessageEvent
-
Uses of CompressedPublicKey in org.drasyl.identity
Methods in org.drasyl.identity that return CompressedPublicKeyModifier and TypeMethodDescriptionCompressedKeyPair.getPublicKey()
Identity.getPublicKey()
IdentityManager.getPublicKey()
static CompressedPublicKey
Converts aString
into aCompressedPublicKey
.static CompressedPublicKey
Converts aPublicKey
into aCompressedPublicKey
.Methods in org.drasyl.identity with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionstatic ProofOfWork
ProofOfWork.generateProofOfWork
(CompressedPublicKey publicKey, short difficulty) static short
ProofOfWork.getDifficulty
(ProofOfWork proofOfWork, CompressedPublicKey publicKey) boolean
ProofOfWork.isValid
(CompressedPublicKey publicKey, short difficulty) static CompressedKeyPair
CompressedKeyPair.of
(CompressedPublicKey publicKey, CompressedPrivateKey privateKey) static Identity
Identity.of
(ProofOfWork proofOfWork, CompressedPublicKey publicKey, CompressedPrivateKey privateKey) -
Uses of CompressedPublicKey in org.drasyl.monitoring
Constructors in org.drasyl.monitoring with parameters of type CompressedPublicKeyModifierConstructorDescriptionMonitoring
(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, Pipeline pipeline) -
Uses of CompressedPublicKey in org.drasyl.peer
Methods in org.drasyl.peer that return CompressedPublicKeyModifier and TypeMethodDescriptionEndpoint.getPublicKey()
Returns theCompressedPublicKey
of thisEndpoint
.PeersManager.getSuperPeerKey()
Methods in org.drasyl.peer that return types with arguments of type CompressedPublicKeyModifier and TypeMethodDescriptionPeersManager.getChildren()
PeersManager.getChildrenKeys()
PeersManager.getPeers()
PeersManager.getSuperPeer()
Methods in org.drasyl.peer with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionvoid
PeersManager.addPeer
(CompressedPublicKey publicKey) PeersManager.getPeer
(CompressedPublicKey publicKey) static Endpoint
Endpoint.of
(String uri, CompressedPublicKey publicKey) static Endpoint
Endpoint.of
(URI uri, CompressedPublicKey publicKey) void
PeersManager.removeChildrenAndPath
(CompressedPublicKey publicKey, Path path) void
PeersManager.removePath
(CompressedPublicKey publicKey, Path path) void
PeersManager.setPeerInformation
(CompressedPublicKey publicKey, PeerInformation peerInformation) void
PeersManager.setPeerInformationAndAddPath
(CompressedPublicKey publicKey, PeerInformation peerInformation, Path path) void
PeersManager.setPeerInformationAndAddPathAndChildren
(CompressedPublicKey publicKey, PeerInformation peerInformation, Path path) void
PeersManager.setPeerInformationAndAddPathAndSetSuperPeer
(CompressedPublicKey publicKey, PeerInformation peerInformation, Path path) -
Uses of CompressedPublicKey in org.drasyl.peer.connection
Methods in org.drasyl.peer.connection with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionboolean
PeerChannelGroup.add
(CompressedPublicKey publicKey, io.netty.channel.Channel channel) io.netty.channel.Channel
PeerChannelGroup.find
(CompressedPublicKey publicKey) Searches the channel for given public key.io.netty.util.concurrent.Future<Void>
PeerChannelGroup.writeAndFlush
(CompressedPublicKey publicKey, Object message) -
Uses of CompressedPublicKey in org.drasyl.peer.connection.direct
Methods in org.drasyl.peer.connection.direct with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionvoid
DirectConnectionDemandsCache.add
(CompressedPublicKey publicKey) AddspublicKey
to the cache.boolean
RequestPeerInformationCache.add
(CompressedPublicKey publicKey) AddspublicKey
to the cache if it is not already cached.boolean
DirectConnectionDemandsCache.contains
(CompressedPublicKey publicKey) -
Uses of CompressedPublicKey in org.drasyl.peer.connection.handler
Fields in org.drasyl.peer.connection.handler with type parameters of type CompressedPublicKeyModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<CompressedPublicKey>
ThreeWayHandshakeClientHandler.ATTRIBUTE_PUBLIC_KEY
-
Uses of CompressedPublicKey in org.drasyl.peer.connection.intravm
Constructors in org.drasyl.peer.connection.intravm with parameters of type CompressedPublicKeyModifierConstructorDescriptionIntraVmDiscovery
(CompressedPublicKey publicKey, PeersManager peersManager, Pipeline pipeline) -
Uses of CompressedPublicKey in org.drasyl.peer.connection.localhost
Constructors in org.drasyl.peer.connection.localhost with parameters of type CompressedPublicKeyModifierConstructorDescriptionLocalHostDiscovery
(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, Pipeline pipeline) -
Uses of CompressedPublicKey in org.drasyl.peer.connection.message
Fields in org.drasyl.peer.connection.message declared as CompressedPublicKeyModifier and TypeFieldDescriptionprotected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.recipient
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
protected final CompressedPublicKey
AbstractMessage.sender
Methods in org.drasyl.peer.connection.message that return CompressedPublicKeyModifier and TypeMethodDescriptionMessage.getRecipient()
Returns this message's recipient.Message.getSender()
Returns this message's sender.Constructors in org.drasyl.peer.connection.message with parameters of type CompressedPublicKeyModifierConstructorDescriptionApplicationMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, byte[] payload) Creates a new message.ApplicationMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, Map<String, String> headers, byte[] payload) Creates a new message.ApplicationMessage
(MessageId id, int networkId, String userAgent, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, short hopCount, byte[] payload) ApplicationMessage
(MessageId id, int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, short hopCount, byte[] payload) ErrorMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, ErrorMessage.Error error, MessageId correspondingId) Creates a new error message.IdentityMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation, MessageId correspondingId) JoinMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, long joinTime) Creates a new join message.PingMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient) PongMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, MessageId correspondingId) QuitMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, QuitMessage.CloseReason reason) SignedMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, Message payload) SuccessMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, MessageId correspondingId) Creates an immutable code object.WelcomeMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation, MessageId correspondingId) Creates new welcome message.WhoisMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation) -
Uses of CompressedPublicKey in org.drasyl.peer.connection.pipeline
Methods in org.drasyl.peer.connection.pipeline with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionprotected void
DirectConnectionMessageSinkHandler.matchedWrite
(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future) protected void
LoopbackMessageSinkHandler.matchedWrite
(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future) protected void
SuperPeerMessageSinkHandler.matchedWrite
(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future) -
Uses of CompressedPublicKey in org.drasyl.peer.connection.server.handler
Methods in org.drasyl.peer.connection.server.handler with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBuf
ServerHttpHandler.getContent
(int networkId, CompressedPublicKey publicKey) Constructors in org.drasyl.peer.connection.server.handler with parameters of type CompressedPublicKeyModifierConstructorDescriptionServerHttpHandler
(int networkId, CompressedPublicKey publicKey, PeersManager peersManager) -
Uses of CompressedPublicKey in org.drasyl.pipeline
Methods in org.drasyl.pipeline that return types with arguments of type CompressedPublicKeyModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<Pair<CompressedPublicKey,
Object>> EmbeddedPipeline.inboundMessages()
-
Uses of CompressedPublicKey in org.drasyl.pipeline.codec
Methods in org.drasyl.pipeline.codec with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionprotected void
ApplicationMessage2ObjectHolderHandler.matchedRead
(HandlerContext ctx, CompressedPublicKey sender, ApplicationMessage msg, CompletableFuture<Void> future) protected void
ObjectHolder2ApplicationMessageHandler.matchedWrite
(HandlerContext ctx, CompressedPublicKey recipient, ObjectHolder msg, CompletableFuture<Void> future) -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.client
Methods in org.drasyl.plugin.groups.client that return CompressedPublicKeyMethods in org.drasyl.plugin.groups.client with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionprotected void
GroupsClientHandler.matchedRead
(HandlerContext ctx, CompressedPublicKey sender, GroupsServerMessage msg, CompletableFuture<Void> future) static GroupUri
GroupUri.of
(CompressedPublicKey manager, String credentials, String name, Duration timeout) -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.client.event
Fields in org.drasyl.plugin.groups.client.event declared as CompressedPublicKeyModifier and TypeFieldDescriptionprotected final CompressedPublicKey
GroupMemberActionEvent.member
protected final CompressedPublicKey
GroupMemberActionEvent.member
Methods in org.drasyl.plugin.groups.client.event that return types with arguments of type CompressedPublicKeyConstructors in org.drasyl.plugin.groups.client.event with parameters of type CompressedPublicKeyModifierConstructorDescriptionGroupMemberJoinedEvent
(CompressedPublicKey member, Group group) GroupMemberLeftEvent
(CompressedPublicKey member, Group group) Constructor parameters in org.drasyl.plugin.groups.client.event with type arguments of type CompressedPublicKeyModifierConstructorDescriptionGroupJoinedEvent
(Group group, Set<CompressedPublicKey> members, Runnable leaveRun) -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.client.message
Fields in org.drasyl.plugin.groups.client.message declared as CompressedPublicKeyModifier and TypeFieldDescriptionprotected final CompressedPublicKey
MemberActionMessage.member
protected final CompressedPublicKey
MemberActionMessage.member
Methods in org.drasyl.plugin.groups.client.message that return types with arguments of type CompressedPublicKeyConstructors in org.drasyl.plugin.groups.client.message with parameters of type CompressedPublicKeyModifierConstructorDescriptionMemberJoinedMessage
(CompressedPublicKey member, Group group) MemberLeftMessage
(CompressedPublicKey member, Group group) Constructor parameters in org.drasyl.plugin.groups.client.message with type arguments of type CompressedPublicKey -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.manager
Methods in org.drasyl.plugin.groups.manager with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionprotected void
GroupsManagerHandler.matchedRead
(HandlerContext ctx, CompressedPublicKey sender, GroupsClientMessage msg, CompletableFuture<Void> future) -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.manager.data
Methods in org.drasyl.plugin.groups.manager.data that return CompressedPublicKeyMethods in org.drasyl.plugin.groups.manager.data with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionGroup.getUri
(CompressedPublicKey manager) static Member
Member.of
(CompressedPublicKey publicKey) -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.manager.database
Methods in org.drasyl.plugin.groups.manager.database with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionboolean
DatabaseAdapter.removeGroupMember
(CompressedPublicKey member, String groupName) Removes themember
from the givengroup
. -
Uses of CompressedPublicKey in org.drasyl.plugin.groups.manager.database.jdbc
Methods in org.drasyl.plugin.groups.manager.database.jdbc with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionboolean
JDBCDatabaseAdapter.removeGroupMember
(CompressedPublicKey member, String groupName)