Uses of Class
org.drasyl.identity.DrasylAddress
Packages that use DrasylAddress
Package
Description
netty
Channel for the drasyl overlay
network.Handlers used to run a drasyl node.
Chord-based distributed hash table.
CYCLON membership management.
Logs channel events/messages for monitoring purpose.
Information about peers.
Contains classes to manage the
Identity of the drasyl node.Contains
DrasylNode.Describes
DrasylNodes as finite state machines.Contains events that inform about various states of the
DrasylNode
(started, stopped, etc.) or overlay network events (messages, peer discovery, etc.)-
Uses of DrasylAddress in org.drasyl.channel
Methods in org.drasyl.channel that return types with arguments of type DrasylAddressModifier and TypeMethodDescriptionMap<DrasylAddress,? extends DrasylChannel> DrasylServerChannel.getChannels()Methods in org.drasyl.channel with parameters of type DrasylAddressModifier and TypeMethodDescriptionDrasylServerChannel.getChannel(DrasylAddress peer) io.netty.channel.ChannelFutureDrasylServerChannel.serve(DrasylAddress peer) Constructors in org.drasyl.channel with parameters of type DrasylAddressModifierConstructorDescriptionOverlayAddressedMessage(M message, DrasylAddress recipient) OverlayAddressedMessage(M message, DrasylAddress recipient, DrasylAddress sender) -
Uses of DrasylAddress in org.drasyl.channel.rs
Methods in org.drasyl.channel.rs that return DrasylAddressModifier and TypeMethodDescriptionprotected DrasylAddressRustDrasylServerChannel.localAddress0()Methods in org.drasyl.channel.rs that return types with arguments of type DrasylAddressMethods in org.drasyl.channel.rs with parameters of type DrasylAddressModifier and TypeMethodDescriptionRustDrasylServerChannel.getChannel(DrasylAddress peer) protected RustDrasylChannelRustDrasylServerChannel.newDrasylChannel(DrasylAddress peer) io.netty.channel.ChannelFutureRustDrasylServerChannel.serve(DrasylAddress peer) -
Uses of DrasylAddress in org.drasyl.handler
Constructor parameters in org.drasyl.handler with type arguments of type DrasylAddress -
Uses of DrasylAddress in org.drasyl.handler.dht.chord
Fields in org.drasyl.handler.dht.chord declared as DrasylAddressMethods in org.drasyl.handler.dht.chord that return DrasylAddressModifier and TypeMethodDescriptionChordFingerTable.get(int i) abstract DrasylAddressChordResponse.getAddress()abstract DrasylAddressChordLookup.getContact()ChordFingerTable.getSuccessor()Methods in org.drasyl.handler.dht.chord that return types with arguments of type DrasylAddressModifier and TypeMethodDescriptionio.netty.util.concurrent.Future<DrasylAddress>LocalChordNode.findClosestFingerPreceding(long id) io.netty.util.concurrent.Future<DrasylAddress>RemoteChordNode.findClosestFingerPreceding(long id) Find the closest finger preceding.io.netty.util.concurrent.Future<DrasylAddress>LocalChordNode.findSuccessor(long id) io.netty.util.concurrent.Future<DrasylAddress>RemoteChordNode.findSuccessor(long id) Find successor forid.io.netty.util.concurrent.Future<DrasylAddress>LocalChordNode.getPredecessor()io.netty.util.concurrent.Future<DrasylAddress>RemoteChordNode.getPredecessor()Returns the predecessor.io.netty.util.concurrent.Future<DrasylAddress>LocalChordNode.getSuccessor()io.netty.util.concurrent.Future<DrasylAddress>RemoteChordNode.getSuccessor()Returns the successor.Methods in org.drasyl.handler.dht.chord with parameters of type DrasylAddressModifier and TypeMethodDescriptionio.netty.util.concurrent.Future<Void>LocalChordNode.join(DrasylAddress contact) Join circle by contactingcontact.static ChordLookupChordLookup.of(DrasylAddress contact, long id) static ChordLookupChordLookup.of(DrasylAddress contact, long id, boolean doStableCheck) static ChordResponseChordResponse.of(long id, DrasylAddress address) voidChordFingerTable.removePeer(DrasylAddress value) booleanChordFingerTable.updateIthFinger(int i, DrasylAddress value) Updates theith finger to point atvalue.Constructors in org.drasyl.handler.dht.chord with parameters of type DrasylAddressModifierConstructorDescriptionChordFingerTable(DrasylAddress localAddress) ChordJoinHandler(DrasylAddress contact, LocalChordNode localNode) LocalChordNode(DrasylAddress localAddress, ChordFingerTable fingerTable, RmiClientHandler client) LocalChordNode(DrasylAddress address, RmiClientHandler client) -
Uses of DrasylAddress in org.drasyl.handler.membership.cyclon
Methods in org.drasyl.handler.membership.cyclon that return DrasylAddressMethods in org.drasyl.handler.membership.cyclon with parameters of type DrasylAddressModifier and TypeMethodDescriptionstatic CyclonNeighborCyclonNeighbor.of(DrasylAddress address) static CyclonNeighborCyclonNeighbor.of(DrasylAddress address, int age) Method parameters in org.drasyl.handler.membership.cyclon with type arguments of type DrasylAddressModifier and TypeMethodDescriptionstatic CyclonViewCyclonView.ofKeys(int capacity, Collection<DrasylAddress> neighbors) -
Uses of DrasylAddress in org.drasyl.handler.monitoring
Fields in org.drasyl.handler.monitoring with type parameters of type DrasylAddressModifier and TypeFieldDescriptionprotected final Map<DrasylAddress,InetSocketAddress> TopologyHandler.childrenPeersprotected final Map<DrasylAddress,InetSocketAddress> TopologyHandler.superPeersMethods in org.drasyl.handler.monitoring that return DrasylAddressMethods in org.drasyl.handler.monitoring that return types with arguments of type DrasylAddressModifier and TypeMethodDescriptionTopologyHandler.Topology.childrenPeers()TopologyHandler.Topology.superPeers()Constructors in org.drasyl.handler.monitoring with parameters of type DrasylAddressModifierConstructorDescriptionTopology(DrasylAddress address, Map<DrasylAddress, InetSocketAddress> superPeers, Map<DrasylAddress, InetSocketAddress> childrenPeers) Constructor parameters in org.drasyl.handler.monitoring with type arguments of type DrasylAddressModifierConstructorDescriptionTopology(DrasylAddress address, Map<DrasylAddress, InetSocketAddress> superPeers, Map<DrasylAddress, InetSocketAddress> childrenPeers) protectedTopologyHandler(Map<DrasylAddress, InetSocketAddress> superPeers, Map<DrasylAddress, InetSocketAddress> childrenPeers) -
Uses of DrasylAddress in org.drasyl.handler.peers
Methods in org.drasyl.handler.peers that return types with arguments of type DrasylAddressConstructor parameters in org.drasyl.handler.peers with type arguments of type DrasylAddress -
Uses of DrasylAddress in org.drasyl.handler.pubsub
Constructors in org.drasyl.handler.pubsub with parameters of type DrasylAddressModifierConstructorDescriptionPubSubPublishHandler(Duration publishTimeout, DrasylAddress broker) PubSubPublishHandler(DrasylAddress broker) PubSubSubscribeHandler(Duration subscribeTimeout, DrasylAddress broker) PubSubSubscribeHandler(DrasylAddress broker) -
Uses of DrasylAddress in org.drasyl.identity
Subclasses of DrasylAddress in org.drasyl.identityModifier and TypeClassDescriptionclassThis class models an ed25519 public key that is used as node's unique overlay address.Methods in org.drasyl.identity that return DrasylAddressMethods in org.drasyl.identity with parameters of type DrasylAddressModifier and TypeMethodDescriptionstatic ProofOfWorkProofOfWork.generateProofOfWork(DrasylAddress address, byte difficulty) static byteProofOfWork.getDifficulty(ProofOfWork proofOfWork, DrasylAddress publicKey) booleanProofOfWork.isValid(DrasylAddress address, byte difficulty) Checks if the current proof of work is valid for given public key and difficulty. -
Uses of DrasylAddress in org.drasyl.node
Methods in org.drasyl.node that return types with arguments of type DrasylAddressModifier and TypeMethodDescriptionabstract Map<DrasylAddress,InetSocketAddress> DrasylConfig.getRemoteStaticRoutes()Deprecated.static Map<DrasylAddress,InetSocketAddress> DrasylConfig.getStaticRoutes(com.typesafe.config.Config config, String path) Methods in org.drasyl.node with parameters of type DrasylAddressModifier and TypeMethodDescriptionCompletionStage<io.netty.channel.Channel>DrasylNode.resolve(DrasylAddress address) Creates a future containing aChannelfor communication withaddress.DrasylNode.send(DrasylAddress recipient, Object payload) Sends the content ofpayloadto the identityrecipient.Method parameters in org.drasyl.node with type arguments of type DrasylAddressModifier and TypeMethodDescriptionabstract DrasylConfig.BuilderDrasylConfig.Builder.remoteStaticRoutes(Map<DrasylAddress, InetSocketAddress> remoteStaticRoutes) Deprecated. -
Uses of DrasylAddress in org.drasyl.node.behaviour
Methods in org.drasyl.node.behaviour with parameters of type DrasylAddressModifier and TypeMethodDescriptionBehavior.BehaviorBuilder.onMessageEquals(DrasylAddress sender, M payload, Supplier<Behavior> handler) Add a new case to the event handling matching events of typeMessageEventwith equalMessageEvent.getPayload().Method parameters in org.drasyl.node.behaviour with type arguments of type DrasylAddressModifier and TypeMethodDescriptionBehavior.BehaviorBuilder.messageAdapter(Class<M> messageType, BiFunction<DrasylAddress, M, Object> adapter) Add a new case to the event handling matching events of typeMessageEventwithMessageEvent.getPayload()matchingmessageType.Behavior.BehaviorBuilder.onAnyMessage(BiFunction<DrasylAddress, M, Behavior> handler) Add a new case to the event handling matching anyMessageEvent.Behavior.BehaviorBuilder.onMessage(Class<M> messageType, BiFunction<DrasylAddress, M, Behavior> handler) Add a new case to the event handling matching events of typeMessageEventwithMessageEvent.getPayload()matchingmessageType.Behavior.BehaviorBuilder.onMessage(Class<M> messageType, BiPredicate<DrasylAddress, M> test, BiFunction<DrasylAddress, M, Behavior> handler) Add a new predicated case to the event handling matching events of typeMessageEventwithMessageEvent.getPayload()matchingmessageType.Behavior.BehaviorBuilder.onMessage(Class<M> messageType, BiPredicate<DrasylAddress, M> test, BiFunction<DrasylAddress, M, Behavior> handler) Add a new predicated case to the event handling matching events of typeMessageEventwithMessageEvent.getPayload()matchingmessageType. -
Uses of DrasylAddress in org.drasyl.node.event
Methods in org.drasyl.node.event that return DrasylAddressModifier and TypeMethodDescriptionabstract DrasylAddressPeer.getAddress()Returns the peer's address.abstract DrasylAddressMessageEvent.getSender()Returns the message's sender.Methods in org.drasyl.node.event with parameters of type DrasylAddressModifier and TypeMethodDescriptionstatic MessageEventMessageEvent.of(DrasylAddress sender, Object payload) Creates a newMessageEventstatic PeerPeer.of(DrasylAddress address) -
Uses of DrasylAddress in org.drasyl.serialization
Methods in org.drasyl.serialization that return DrasylAddressMethods in org.drasyl.serialization that return types with arguments of type DrasylAddressConstructor parameters in org.drasyl.serialization with type arguments of type DrasylAddress