Uses of Class
org.drasyl.peer.Endpoint
Packages that use Endpoint
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.
Package contains classes that are used for communicating with other peers.
Connects to super peer and other peers.
Establishes direct connections to other peers.
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.
-
Uses of Endpoint in org.drasyl
Methods in org.drasyl that return types with arguments of type EndpointModifier and TypeMethodDescriptionDrasylConfig.getEndpointList
(com.typesafe.config.Config config, String path) DrasylConfig.getServerEndpoints()
DrasylConfig.getSuperPeerEndpoints()
Method parameters in org.drasyl with type arguments of type EndpointModifier and TypeMethodDescriptionDrasylConfig.Builder.serverEndpoints
(Set<Endpoint> serverEndpoints) DrasylConfig.Builder.superPeerEndpoints
(Set<Endpoint> superPeerEndpoints) Constructor parameters in org.drasyl with type arguments of type EndpointModifierConstructorDescriptionprotected
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 Endpoint in org.drasyl.event
Methods in org.drasyl.event that return types with arguments of type EndpointMethod parameters in org.drasyl.event with type arguments of type Endpoint -
Uses of Endpoint in org.drasyl.peer
Fields in org.drasyl.peer with type parameters of type EndpointMethods in org.drasyl.peer that return EndpointModifier and TypeMethodDescriptionstatic Endpoint
Converts aString
to aEndpoint
.static Endpoint
Endpoint.of
(String uri, CompressedPublicKey publicKey) static Endpoint
Converts anURI
intoEndpoint
.static Endpoint
Endpoint.of
(URI uri, CompressedPublicKey publicKey) Methods in org.drasyl.peer that return types with arguments of type EndpointMethods in org.drasyl.peer with parameters of type EndpointModifier and TypeMethodDescriptionint
Compares thisEndpoint
to another object, which must be aEndpoint
.Method parameters in org.drasyl.peer with type arguments of type EndpointConstructor parameters in org.drasyl.peer with type arguments of type Endpoint -
Uses of Endpoint in org.drasyl.peer.connection.client
Fields in org.drasyl.peer.connection.client declared as EndpointMethods in org.drasyl.peer.connection.client that return EndpointConstructors in org.drasyl.peer.connection.client with parameters of type EndpointModifierConstructorDescriptionprotected
ClientChannelInitializer
(int networkId, Identity identity, int flushBufferSize, Duration readIdleTimeout, short pingPongRetries, Endpoint target) Initialize a netty Channel for an outbound connection to a node server.ClientEnvironment
(DrasylConfig config, Identity identity, Endpoint endpoint, Pipeline pipeline, PeerChannelGroup channelGroup, PeersManager peersManager, boolean joinAsChildren, short idleRetries, Duration idleTimeout, Duration handshakeTimeout) Constructor parameters in org.drasyl.peer.connection.client with type arguments of type EndpointModifierConstructorDescriptionDirectClient
(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) protected
SuperPeerClient
(DrasylConfig config, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier doNewConnectionsSupplier, DrasylFunction<Endpoint, io.netty.bootstrap.Bootstrap, ClientException> bootstrapSupplier) -
Uses of Endpoint in org.drasyl.peer.connection.direct
Constructor parameters in org.drasyl.peer.connection.direct with type arguments of type EndpointModifierConstructorDescriptionDirectConnectionsManager
(DrasylConfig config, Identity identity, PeersManager peersManager, Pipeline pipeline, PeerChannelGroup channelGroup, io.netty.channel.EventLoopGroup workerGroup, BooleanSupplier acceptNewConnectionsSupplier, Set<Endpoint> endpoints) -
Uses of Endpoint in org.drasyl.peer.connection.localhost
Constructor parameters in org.drasyl.peer.connection.localhost with type arguments of type EndpointModifierConstructorDescriptionLocalHostDiscovery
(DrasylConfig config, CompressedPublicKey ownPublicKey, PeersManager peersManager, Set<Endpoint> endpoints, Pipeline pipeline) -
Uses of Endpoint in org.drasyl.peer.connection.pipeline
Constructor parameters in org.drasyl.peer.connection.pipeline with type arguments of type EndpointModifierConstructorDescriptionLoopbackMessageSinkHandler
(AtomicBoolean started, int networkId, Identity identity, PeersManager peersManager, Set<Endpoint> endpoints) -
Uses of Endpoint in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return types with arguments of type EndpointConstructor parameters in org.drasyl.peer.connection.server with type arguments of type EndpointModifierConstructorDescriptionServer
(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)