Uses of Class
org.drasyl.peer.Endpoint
-
Packages that use Endpoint Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.event Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes.org.drasyl.peer Package contains classes that are used for communicating with other peers.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.localhost Uses the file system to discover other drasyl nodes running on the local computer.org.drasyl.peer.connection.pipeline org.drasyl.peer.connection.server 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 Endpoint Modifier and Type Method Description static List<Endpoint>
DrasylConfig. getEndpointList(com.typesafe.config.Config config, String path)
Set<Endpoint>
DrasylConfig. getServerEndpoints()
Set<Endpoint>
DrasylConfig. getSuperPeerEndpoints()
Method parameters in org.drasyl with type arguments of type Endpoint Modifier and Type Method Description DrasylConfig.Builder
DrasylConfig.Builder. serverEndpoints(Set<Endpoint> serverEndpoints)
DrasylConfig.Builder
DrasylConfig.Builder. superPeerEndpoints(Set<Endpoint> superPeerEndpoints)
Constructor parameters in org.drasyl with type arguments of type Endpoint 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 Endpoint in org.drasyl.event
Methods in org.drasyl.event that return types with arguments of type Endpoint Modifier and Type Method Description Set<Endpoint>
Node. getEndpoints()
Returns the node's endpoints.Method parameters in org.drasyl.event with type arguments of type Endpoint Modifier and Type Method Description static Node
Node. of(Identity identity, Set<Endpoint> endpoints)
-
Uses of Endpoint in org.drasyl.peer
Fields in org.drasyl.peer with type parameters of type Endpoint Modifier and Type Field Description protected Set<Endpoint>
PeerInformation. endpoints
Methods in org.drasyl.peer that return Endpoint Modifier and Type Method Description static Endpoint
Endpoint. of(String endpoint)
Converts aString
to aEndpoint
.static Endpoint
Endpoint. of(String uri, CompressedPublicKey publicKey)
static Endpoint
Endpoint. of(URI endpoint)
Converts anURI
intoEndpoint
.static Endpoint
Endpoint. of(URI uri, CompressedPublicKey publicKey)
Methods in org.drasyl.peer that return types with arguments of type Endpoint Modifier and Type Method Description Set<Endpoint>
PeerInformation. getEndpoints()
Methods in org.drasyl.peer with parameters of type Endpoint Modifier and Type Method Description int
Endpoint. compareTo(Endpoint that)
Compares thisEndpoint
to another object, which must be aEndpoint
.Method parameters in org.drasyl.peer with type arguments of type Endpoint Modifier and Type Method Description static PeerInformation
PeerInformation. of(Set<Endpoint> endpoints)
Constructor parameters in org.drasyl.peer with type arguments of type Endpoint Constructor Description PeerInformation(Set<Endpoint> endpoints)
-
Uses of Endpoint in org.drasyl.peer.connection.client
Fields in org.drasyl.peer.connection.client declared as Endpoint Modifier and Type Field Description protected Endpoint
ClientChannelInitializer. target
Methods in org.drasyl.peer.connection.client that return Endpoint Modifier and Type Method Description Endpoint
ClientEnvironment. getEndpoint()
Constructors in org.drasyl.peer.connection.client with parameters of type Endpoint Constructor Description 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 Endpoint Constructor Description 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, 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 Endpoint 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 Endpoint in org.drasyl.peer.connection.localhost
Constructor parameters in org.drasyl.peer.connection.localhost with type arguments of type Endpoint Constructor Description LocalHostDiscovery(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 Endpoint Constructor Description LoopbackMessageSinkHandler(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 Endpoint Modifier and Type Method Description Set<Endpoint>
ServerEnvironment. getEndpoints()
Constructor parameters in org.drasyl.peer.connection.server with type arguments of type Endpoint 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)
-