Uses of Interface
org.drasyl.pipeline.address.Address
-
Packages that use Address Package Description org.drasyl.identity Contains classes to manage theIdentity
of the drasyl node.org.drasyl.intravm Automatic discovery of other running drasyl nodes in the same JVM.org.drasyl.loopback.handler org.drasyl.monitoring Monitors various states or events in the drasyl node.org.drasyl.pipeline Link between application and drasyl overlay network.org.drasyl.pipeline.address Contains addresses that describe the sender or recipient of messages.org.drasyl.pipeline.handler Contains default implementations for some basic handlers.org.drasyl.pipeline.message Contains all message types that drasyl uses to configure the overlay network and transfer application messages.org.drasyl.pipeline.serialization Package contains classes that are used for serialisation of message to byte arrays and vice vera.org.drasyl.pipeline.skeleton Contains skeleton implementations for the most often used idioms (e.g., in- or outbound-only handlers).org.drasyl.remote.handler Handlers used to communicate with remote nodes.org.drasyl.remote.handler.portmapper ContainsPortMapper
that attempts to create port forwarding via PCP, NAT-PMP, UPnP-IDG. -
-
Uses of Address in org.drasyl.identity
Classes in org.drasyl.identity that implement Address Modifier and Type Class Description class
CompressedPrivateKey
This interface models a compressed key that can be converted into a string and vice versa.class
CompressedPublicKey
This interface models a compressed key that can be converted into a string and vice versa. -
Uses of Address in org.drasyl.intravm
Methods in org.drasyl.intravm with parameters of type Address Modifier and Type Method Description protected void
IntraVmDiscovery. matchedRead(HandlerContext ctx, Address sender, ApplicationMessage msg, CompletableFuture<Void> future)
protected void
IntraVmDiscovery. matchedWrite(HandlerContext ctx, Address recipient, ApplicationMessage msg, CompletableFuture<Void> future)
-
Uses of Address in org.drasyl.loopback.handler
Methods in org.drasyl.loopback.handler with parameters of type Address Modifier and Type Method Description protected void
InboundMessageGuard. matchedRead(HandlerContext ctx, Address sender, ApplicationMessage msg, CompletableFuture<Void> future)
protected void
LoopbackMessageHandler. matchedWrite(HandlerContext ctx, Address recipient, ApplicationMessage msg, CompletableFuture<Void> future)
-
Uses of Address in org.drasyl.monitoring
Methods in org.drasyl.monitoring with parameters of type Address Modifier and Type Method Description protected void
Monitoring. matchedRead(HandlerContext ctx, Address sender, Object msg, CompletableFuture<Void> future)
protected void
Monitoring. matchedWrite(HandlerContext ctx, Address recipient, Object msg, CompletableFuture<Void> future)
-
Uses of Address in org.drasyl.pipeline
Methods in org.drasyl.pipeline that return types with arguments of type Address Modifier and Type Method Description io.reactivex.rxjava3.core.Observable<AddressedEnvelope<Address,Object>>
EmbeddedPipeline. inboundMessagesWithRecipient()
Methods in org.drasyl.pipeline with parameters of type Address Modifier and Type Method Description CompletableFuture<Void>
HandlerContext. fireRead(Address sender, Object msg, CompletableFuture<Void> future)
Received a message.CompletableFuture<Void>
AbstractPipeline. processInbound(Address sender, Object msg)
CompletableFuture<Void>
Pipeline. processInbound(Address sender, Object msg)
Processes an inbound message by the pipeline.CompletableFuture<Void>
AbstractPipeline. processOutbound(Address recipient, Object msg)
CompletableFuture<Void>
Pipeline. processOutbound(Address recipient, Object msg)
Processes an outbound message by the pipeline.void
Handler. read(HandlerContext ctx, Address sender, Object msg, CompletableFuture<Void> future)
Gets called if aObject
was received.void
Handler. write(HandlerContext ctx, Address recipient, Object msg, CompletableFuture<Void> future)
Gets called if aObject
was send from the application to a recipient.CompletableFuture<Void>
HandlerContext. write(Address recipient, Object msg, CompletableFuture<Void> future)
Request to write a message via thisHandlerContext
through thePipeline
. -
Uses of Address in org.drasyl.pipeline.address
Classes in org.drasyl.pipeline.address that implement Address Modifier and Type Class Description class
InetSocketAddressWrapper
-
Uses of Address in org.drasyl.pipeline.handler
Methods in org.drasyl.pipeline.handler with parameters of type Address Modifier and Type Method Description protected void
MessagesThroughputHandler. matchedRead(HandlerContext ctx, Address sender, Object msg, CompletableFuture<Void> future)
protected void
MessagesThroughputHandler. matchedWrite(HandlerContext ctx, Address recipient, Object msg, CompletableFuture<Void> future)
Constructor parameters in org.drasyl.pipeline.handler with type arguments of type Address Constructor Description MessagesThroughputHandler(BiPredicate<Address,Object> consumeOutbound, BiPredicate<Address,Object> consumeInbound)
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matchingconsumeOutbound
, and inbound messages matchingconsumeInbound
.MessagesThroughputHandler(BiPredicate<Address,Object> consumeOutbound, BiPredicate<Address,Object> consumeInbound, io.reactivex.rxjava3.core.Scheduler scheduler)
Creates a new handler which visualizes the number of inbound and outbound messages per second, consumes outbound message matchingconsumeOutbound
, and inbound messages matchingconsumeInbound
. -
Uses of Address in org.drasyl.pipeline.message
Classes in org.drasyl.pipeline.message with type parameters of type Address Modifier and Type Interface Description interface
AddressedEnvelope<A extends Address,M>
A message with a sender address and a recipient address.class
DefaultAddressedEnvelope<A extends Address,M>
-
Uses of Address in org.drasyl.pipeline.serialization
Methods in org.drasyl.pipeline.serialization with parameters of type Address Modifier and Type Method Description protected void
MessageSerializer. matchedRead(HandlerContext ctx, Address sender, SerializedApplicationMessage msg, CompletableFuture<Void> future)
protected void
MessageSerializer. matchedWrite(HandlerContext ctx, Address recipient, ApplicationMessage msg, CompletableFuture<Void> future)
-
Uses of Address in org.drasyl.pipeline.skeleton
Classes in org.drasyl.pipeline.skeleton with type parameters of type Address Modifier and Type Class Description class
SimpleDuplexEventAwareHandler<I,E,O,A extends Address>
HandlerAdapter
which allows to explicit only handle a specific type of messages and events.class
SimpleDuplexHandler<I,O,A extends Address>
HandlerAdapter
which allows to explicit only handle a specific type of messages and events.class
SimpleInboundEventAwareHandler<I,E,A extends Address>
HandlerAdapter
which allows to explicit only handle a specific type of inbound messages and events.class
SimpleInboundHandler<I,A extends Address>
HandlerAdapter
which allows to explicit only handle a specific type of inbound messages.class
SimpleOutboundHandler<O,A extends Address>
HandlerAdapter
which allows to explicit only handle a specific type of messages.Methods in org.drasyl.pipeline.skeleton with parameters of type Address Modifier and Type Method Description protected boolean
AddressHandlerAdapter. acceptAddress(Address address)
Returnstrue
if the given address should be handled,false
otherwise.void
HandlerAdapter. read(HandlerContext ctx, Address sender, Object msg, CompletableFuture<Void> future)
void
SimpleInboundEventAwareHandler. read(HandlerContext ctx, Address sender, Object msg, CompletableFuture<Void> future)
void
HandlerAdapter. write(HandlerContext ctx, Address recipient, Object msg, CompletableFuture<Void> future)
void
SimpleDuplexEventAwareHandler. write(HandlerContext ctx, Address recipient, Object msg, CompletableFuture<Void> future)
void
SimpleOutboundHandler. write(HandlerContext ctx, Address recipient, Object msg, CompletableFuture<Void> future)
-
Uses of Address in org.drasyl.remote.handler
Methods in org.drasyl.remote.handler with parameters of type Address Modifier and Type Method Description protected void
ArmHandler. matchedRead(HandlerContext ctx, Address sender, AddressedIntermediateEnvelope<com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
ByteBuf2MessageHandler. matchedRead(HandlerContext ctx, Address sender, AddressedByteBuf addressedByteBuf, CompletableFuture<Void> future)
protected void
ChunkingHandler. matchedRead(HandlerContext ctx, Address sender, AddressedIntermediateEnvelope<? extends com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
InternetDiscoveryHandler. matchedRead(HandlerContext ctx, Address sender, AddressedIntermediateEnvelope<? extends com.google.protobuf.MessageLite> envelope, CompletableFuture<Void> future)
protected void
InvalidProofOfWorkFilter. matchedRead(HandlerContext ctx, Address sender, AddressedIntermediateEnvelope<com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
OtherNetworkFilter. matchedRead(HandlerContext ctx, Address sender, AddressedIntermediateEnvelope<com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
ArmHandler. matchedWrite(HandlerContext ctx, Address recipient, AddressedIntermediateEnvelope<com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
ChunkingHandler. matchedWrite(HandlerContext ctx, Address recipient, AddressedIntermediateEnvelope<? extends com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
HopCountGuard. matchedWrite(HandlerContext ctx, Address recipient, AddressedIntermediateEnvelope<com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
protected void
InternetDiscoveryHandler. matchedWrite(HandlerContext ctx, Address recipient, SerializedApplicationMessage msg, CompletableFuture<Void> future)
protected void
Message2ByteBufHandler. matchedWrite(HandlerContext ctx, Address recipient, AddressedIntermediateEnvelope<com.google.protobuf.MessageLite> msg, CompletableFuture<Void> future)
-
Uses of Address in org.drasyl.remote.handler.portmapper
Methods in org.drasyl.remote.handler.portmapper with parameters of type Address Modifier and Type Method Description protected void
PortMapper. matchedRead(HandlerContext ctx, Address sender, AddressedByteBuf msg, CompletableFuture<Void> future)
-