Uses of Record Class
eu.cloudnetservice.driver.network.HostAndPort
Packages that use HostAndPort
Package
Description
-
Uses of HostAndPort in eu.cloudnetservice.driver.cluster
Fields in eu.cloudnetservice.driver.cluster with type parameters of type HostAndPortMethods in eu.cloudnetservice.driver.cluster that return types with arguments of type HostAndPortConstructor parameters in eu.cloudnetservice.driver.cluster with type arguments of type HostAndPortModifierConstructorDescriptionNetworkClusterNode(@NonNull String uniqueId, @NonNull List<HostAndPort> listeners) Creates a new instance of a network cluster node.NetworkClusterNode(@NonNull String uniqueId, @NonNull List<HostAndPort> listeners, @NonNull Document properties) Creates a new instance of a network cluster node. -
Uses of HostAndPort in eu.cloudnetservice.driver.network
Methods in eu.cloudnetservice.driver.network that return HostAndPortModifier and TypeMethodDescriptionNetworkChannel.clientAddress()Get the client host from/to the channel is connected.static @NonNull HostAndPortHostAndPort.fromSocketAddress(@NonNull SocketAddress socketAddress) Tries to convert the given socket address into a host and port, throwing an exception if not possible.NetworkChannel.serverAddress()Get the server host from/to the channel is connected.Methods in eu.cloudnetservice.driver.network with parameters of type HostAndPortModifier and TypeMethodDescriptionNetworkServer.addListener(@NonNull HostAndPort hostAndPort) Binds this network server to the given host and port if no listener is already listening on the given address.NetworkClient.connect(@NonNull HostAndPort hostAndPort) Connects this network client to the network server running at the given host and port. -
Uses of HostAndPort in eu.cloudnetservice.driver.service
Fields in eu.cloudnetservice.driver.service declared as HostAndPortMethods in eu.cloudnetservice.driver.service that return HostAndPortModifier and TypeMethodDescriptionServiceInfoSnapshot.address()Get the address to which the service was / will be bound when started.Constructors in eu.cloudnetservice.driver.service with parameters of type HostAndPortModifierConstructorDescriptionServiceInfoSnapshot(long creationTime, @NonNull HostAndPort address, @NonNull ProcessSnapshot processSnapshot, @NonNull ServiceConfiguration configuration, long connectedTime, @NonNull ServiceLifeCycle lifeCycle, @NonNull Document properties) Constructs a new service info snapshot.