Uses of Class
org.drasyl.peer.connection.PeerChannelGroup
-
Packages that use PeerChannelGroup Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.peer.connection.client Connects to super peer and other peers.org.drasyl.peer.connection.direct Establishes direct connections to other peers.org.drasyl.peer.connection.pipeline org.drasyl.peer.connection.server Provides a server to which children and other peers can connect. -
-
Uses of PeerChannelGroup in org.drasyl
Constructors in org.drasyl with parameters of type PeerChannelGroup Constructor Description 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 PeerChannelGroup in org.drasyl.peer.connection.client
Methods in org.drasyl.peer.connection.client that return PeerChannelGroup Modifier and Type Method Description PeerChannelGroup
ClientEnvironment. getChannelGroup()
Constructors in org.drasyl.peer.connection.client with parameters of type PeerChannelGroup Constructor Description ClientEnvironment(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 PeerChannelGroup in org.drasyl.peer.connection.direct
Constructors in org.drasyl.peer.connection.direct with parameters of type PeerChannelGroup Constructor Description DirectConnectionsManager(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> endpoints)
-
Uses of PeerChannelGroup in org.drasyl.peer.connection.pipeline
Constructors in org.drasyl.peer.connection.pipeline with parameters of type PeerChannelGroup Constructor Description DirectConnectionMessageSinkHandler(PeerChannelGroup channelGroup)
SuperPeerMessageSinkHandler(PeerChannelGroup channelGroup, PeersManager peersManager)
-
Uses of PeerChannelGroup in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return PeerChannelGroup Modifier and Type Method Description PeerChannelGroup
ServerEnvironment. getChannelGroup()
Constructors in org.drasyl.peer.connection.server with parameters of type PeerChannelGroup Constructor Description Server(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)
-