Uses of Class
org.drasyl.peer.PeersManager
Packages that use PeersManager
Package
Description
Core API that includes the
DrasylNode
and DrasylConfig
.Monitors various states or events in the drasyl node.
Connects to super peer and other peers.
Establishes direct connections to other peers.
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.
Provides a server to which children and other peers can connect.
netty handlers dedicated for the server.
-
Uses of PeersManager in org.drasyl
Constructors in org.drasyl with parameters of type PeersManagerModifierConstructorDescriptionprotected
DrasylNode
(DrasylConfig config, Identity identity, PeersManager peersManager, PeerChannelGroup channelGroup, Set<Endpoint> endpoints, AtomicBoolean acceptNewConnections, Pipeline pipeline, List<DrasylNodeComponent> components, PluginManager pluginManager, AtomicBoolean started, CompletableFuture<Void> startSequence, CompletableFuture<Void> shutdownSequence) -
Uses of PeersManager in org.drasyl.monitoring
Constructors in org.drasyl.monitoring with parameters of type PeersManagerModifierConstructorDescriptionMonitoring
(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, Pipeline pipeline) -
Uses of PeersManager in org.drasyl.peer.connection.client
Methods in org.drasyl.peer.connection.client that return PeersManagerConstructors in org.drasyl.peer.connection.client with parameters of type PeersManagerModifierConstructorDescriptionClientEnvironment
(DrasylConfig config, Identity identity, Endpoint endpoint, Pipeline pipeline, PeerChannelGroup channelGroup, PeersManager peersManager, boolean joinAsChildren, short idleRetries, Duration idleTimeout, Duration handshakeTimeout) DirectClient
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, Supplier<Set<Endpoint>> endpointsSupplier, BooleanSupplier directConnectionDemand, Runnable onFailure, BooleanSupplier doNewConnectionsSupplier) SuperPeerClient
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier doNewConnectionsSupplier) -
Uses of PeersManager in org.drasyl.peer.connection.direct
Constructors in org.drasyl.peer.connection.direct with parameters of type PeersManagerModifierConstructorDescriptionDirectConnectionsManager
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> endpoints) -
Uses of PeersManager in org.drasyl.peer.connection.intravm
Constructors in org.drasyl.peer.connection.intravm with parameters of type PeersManagerModifierConstructorDescriptionIntraVmDiscovery
(CompressedPublicKey publicKey, PeersManager peersManager, Pipeline pipeline) -
Uses of PeersManager in org.drasyl.peer.connection.localhost
Constructors in org.drasyl.peer.connection.localhost with parameters of type PeersManagerModifierConstructorDescriptionLocalHostDiscovery
(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, Pipeline pipeline) -
Uses of PeersManager in org.drasyl.peer.connection.pipeline
Constructors in org.drasyl.peer.connection.pipeline with parameters of type PeersManagerModifierConstructorDescriptionLoopbackMessageSinkHandler
(AtomicBoolean started, int networkId, Identity identity, PeersManager peersManager, Set<Endpoint> endpoints) SuperPeerMessageSinkHandler
(PeerChannelGroup channelGroup, PeersManager peersManager) -
Uses of PeersManager in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return PeersManagerConstructors in org.drasyl.peer.connection.server with parameters of type PeersManagerModifierConstructorDescriptionServer
(Identity identity, Pipeline pipeline, PeersManager peersManager, DrasylConfig config, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, io.netty.channel.EventLoopGroup bossGroup, AtomicBoolean opened, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> nodeEndpoints) Server for accepting connections from child peers and non-child peers.Server
(Identity identity, Pipeline pipeline, PeersManager peersManager, DrasylConfig config, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, io.netty.channel.EventLoopGroup bossGroup, Set<Endpoint> nodeEndpoints, BooleanSupplier acceptNewConnectionsSupplier) ServerEnvironment
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, Set<Endpoint> endpoints, PeerChannelGroup channelGroup, BooleanSupplier acceptedNewConnectionsSupplier) -
Uses of PeersManager in org.drasyl.peer.connection.server.handler
Methods in org.drasyl.peer.connection.server.handler with parameters of type PeersManagerModifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBuf
ServerHttpHandler.getPeers
(PeersManager peersManager) Constructors in org.drasyl.peer.connection.server.handler with parameters of type PeersManagerModifierConstructorDescriptionServerHttpHandler
(int networkId, CompressedPublicKey publicKey, PeersManager peersManager)