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 CompressedPublicKeyDrasylConfig.getPublicKey(com.typesafe.config.Config config, String path) Gets theCompressedPublicKeyat 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 ofpayloadto 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 CompressedPublicKeyConverts aStringinto aCompressedPublicKey.static CompressedPublicKeyConverts aPublicKeyinto aCompressedPublicKey.Methods in org.drasyl.identity with parameters of type CompressedPublicKeyModifier and TypeMethodDescriptionstatic ProofOfWorkProofOfWork.generateProofOfWork(CompressedPublicKey publicKey, short difficulty) static shortProofOfWork.getDifficulty(ProofOfWork proofOfWork, CompressedPublicKey publicKey) booleanProofOfWork.isValid(CompressedPublicKey publicKey, short difficulty) static CompressedKeyPairCompressedKeyPair.of(CompressedPublicKey publicKey, CompressedPrivateKey privateKey) static IdentityIdentity.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 theCompressedPublicKeyof 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 TypeMethodDescriptionvoidPeersManager.addPeer(CompressedPublicKey publicKey) PeersManager.getPeer(CompressedPublicKey publicKey) static EndpointEndpoint.of(String uri, CompressedPublicKey publicKey) static EndpointEndpoint.of(URI uri, CompressedPublicKey publicKey) voidPeersManager.removeChildrenAndPath(CompressedPublicKey publicKey, Path path) voidPeersManager.removePath(CompressedPublicKey publicKey, Path path) voidPeersManager.setPeerInformation(CompressedPublicKey publicKey, PeerInformation peerInformation) voidPeersManager.setPeerInformationAndAddPath(CompressedPublicKey publicKey, PeerInformation peerInformation, Path path) voidPeersManager.setPeerInformationAndAddPathAndChildren(CompressedPublicKey publicKey, PeerInformation peerInformation, Path path) voidPeersManager.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 TypeMethodDescriptionbooleanPeerChannelGroup.add(CompressedPublicKey publicKey, io.netty.channel.Channel channel) io.netty.channel.ChannelPeerChannelGroup.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 TypeMethodDescriptionvoidDirectConnectionDemandsCache.add(CompressedPublicKey publicKey) AddspublicKeyto the cache.booleanRequestPeerInformationCache.add(CompressedPublicKey publicKey) AddspublicKeyto the cache if it is not already cached.booleanDirectConnectionDemandsCache.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 CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.recipientprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderprotected final CompressedPublicKeyAbstractMessage.senderMethods 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 voidDirectConnectionMessageSinkHandler.matchedWrite(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future) protected voidLoopbackMessageSinkHandler.matchedWrite(HandlerContext ctx, CompressedPublicKey recipient, Message msg, CompletableFuture<Void> future) protected voidSuperPeerMessageSinkHandler.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.ByteBufServerHttpHandler.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 voidApplicationMessage2ObjectHolderHandler.matchedRead(HandlerContext ctx, CompressedPublicKey sender, ApplicationMessage msg, CompletableFuture<Void> future) protected voidObjectHolder2ApplicationMessageHandler.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 voidGroupsClientHandler.matchedRead(HandlerContext ctx, CompressedPublicKey sender, GroupsServerMessage msg, CompletableFuture<Void> future) static GroupUriGroupUri.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 CompressedPublicKeyGroupMemberActionEvent.memberprotected final CompressedPublicKeyGroupMemberActionEvent.memberMethods 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 CompressedPublicKeyMemberActionMessage.memberprotected final CompressedPublicKeyMemberActionMessage.memberMethods 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 voidGroupsManagerHandler.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 MemberMember.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 TypeMethodDescriptionbooleanDatabaseAdapter.removeGroupMember(CompressedPublicKey member, String groupName) Removes thememberfrom 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 TypeMethodDescriptionbooleanJDBCDatabaseAdapter.removeGroupMember(CompressedPublicKey member, String groupName)