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
Fields in eu.cloudnetservice.driver.network declared as HostAndPortModifier and TypeFieldDescriptionprivate final HostAndPortDefaultNetworkChannel.clientAddressprivate final HostAndPortDefaultNetworkChannel.serverAddressMethods in eu.cloudnetservice.driver.network that return HostAndPortModifier and TypeMethodDescriptionDefaultNetworkChannel.clientAddress()Get the client host from/to the channel is connected.NetworkChannel.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.DefaultNetworkChannel.serverAddress()Get the server host from/to the channel is connected.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.Constructors in eu.cloudnetservice.driver.network with parameters of type HostAndPortModifierConstructorDescriptionDefaultNetworkChannel(@NonNull PacketListenerRegistry packetRegistry, @NonNull HostAndPort serverAddress, @NonNull HostAndPort clientAddress, boolean clientProvidedChannel, @NonNull NetworkChannelHandler handler) Constructs a new default network channel instance. -
Uses of HostAndPort in eu.cloudnetservice.driver.network.http
Methods in eu.cloudnetservice.driver.network.http that return HostAndPortModifier and TypeMethodDescriptionHttpChannel.clientAddress()Get the host and port of the client which is connected to the server.HttpChannel.serverAddress()Get the host and port of the server binding the client is connected to.Methods in eu.cloudnetservice.driver.network.http with parameters of type HostAndPortModifier and TypeMethodDescriptionHttpServer.addListener(@NonNull HostAndPort hostAndPort) Binds this network server to the given host and port if no listener is already listening on the given address. -
Uses of HostAndPort in eu.cloudnetservice.driver.network.netty
Constructors in eu.cloudnetservice.driver.network.netty with parameters of type HostAndPortModifierConstructorDescriptionNettyNetworkChannel(@NonNull io.netty5.channel.Channel channel, @NonNull EventManager eventManager, @NonNull PacketListenerRegistry packetRegistry, @NonNull NetworkChannelHandler handler, @NonNull HostAndPort serverAddress, @NonNull HostAndPort clientAddress, boolean clientProvidedChannel) Constructs a new netty network channel instance. -
Uses of HostAndPort in eu.cloudnetservice.driver.network.netty.client
Fields in eu.cloudnetservice.driver.network.netty.client declared as HostAndPortModifier and TypeFieldDescriptionprivate final HostAndPortNettyNetworkClientHandler.connectedAddressprotected final HostAndPortNettyNetworkClientInitializer.hostAndPortMethods in eu.cloudnetservice.driver.network.netty.client with parameters of type HostAndPortModifier and TypeMethodDescriptionNettyNetworkClient.connect(@NonNull HostAndPort hostAndPort) Connects this network client to the network server running at the given host and port.Constructors in eu.cloudnetservice.driver.network.netty.client with parameters of type HostAndPortModifierConstructorDescriptionNettyNetworkClientHandler(@NonNull EventManager eventManager, @NonNull NettyNetworkClient nettyNetworkClient, @NonNull HostAndPort connectedAddress) Constructs a new network client handler instance.NettyNetworkClientInitializer(@NonNull HostAndPort targetHost, @NonNull EventManager eventManager, @NonNull NettyNetworkClient networkClient) Constructs a new network client initializer instance. -
Uses of HostAndPort in eu.cloudnetservice.driver.network.netty.http
Fields in eu.cloudnetservice.driver.network.netty.http declared as HostAndPortModifier and TypeFieldDescriptionprivate final @NonNull HostAndPortNettyHttpChannel.clientAddressThe field for theclientAddressrecord component.private final HostAndPortNettyHttpServerHandler.connectedAddressprivate final HostAndPortNettyHttpServerInitializer.hostAndPortprivate final @NonNull HostAndPortNettyHttpChannel.serverAddressThe field for theserverAddressrecord component.Fields in eu.cloudnetservice.driver.network.netty.http with type parameters of type HostAndPortModifier and TypeFieldDescriptionprotected final Map<HostAndPort,io.netty5.util.concurrent.Future<Void>> NettyHttpServer.channelFuturesMethods in eu.cloudnetservice.driver.network.netty.http that return HostAndPortModifier and TypeMethodDescriptionNettyHttpChannel.clientAddress()Returns the value of theclientAddressrecord component.NettyHttpChannel.serverAddress()Returns the value of theserverAddressrecord component.Methods in eu.cloudnetservice.driver.network.netty.http with parameters of type HostAndPortModifier and TypeMethodDescriptionNettyHttpServer.addListener(@NonNull HostAndPort hostAndPort) Binds this network server to the given host and port if no listener is already listening on the given address.Constructors in eu.cloudnetservice.driver.network.netty.http with parameters of type HostAndPortModifierConstructorDescriptionNettyHttpChannel(@NonNull io.netty5.channel.Channel channel, @NonNull HostAndPort serverAddress, @NonNull HostAndPort clientAddress) Creates an instance of aNettyHttpChannelrecord class.NettyHttpServerHandler(@NonNull NettyHttpServer nettyHttpServer, @NonNull HostAndPort connectedAddress) Constructs a new http server handler instance.NettyHttpServerInitializer(@NonNull NettyHttpServer nettyHttpServer, @NonNull HostAndPort hostAndPort) Constructs a new netty http server initializer instance. -
Uses of HostAndPort in eu.cloudnetservice.driver.network.netty.server
Fields in eu.cloudnetservice.driver.network.netty.server declared as HostAndPortModifier and TypeFieldDescriptionprivate final HostAndPortNettyNetworkServerHandler.serverLocalAddressprivate final HostAndPortNettyNetworkServerInitializer.serverLocalAddressFields in eu.cloudnetservice.driver.network.netty.server with type parameters of type HostAndPortModifier and TypeFieldDescriptionprotected final Map<HostAndPort,io.netty5.util.concurrent.Future<Void>> NettyNetworkServer.channelFuturesMethods in eu.cloudnetservice.driver.network.netty.server with parameters of type HostAndPortModifier and TypeMethodDescriptionNettyNetworkServer.addListener(@NonNull HostAndPort hostAndPort) Binds this network server to the given host and port if no listener is already listening on the given address.Constructors in eu.cloudnetservice.driver.network.netty.server with parameters of type HostAndPortModifierConstructorDescriptionNettyNetworkServerHandler(@NonNull EventManager eventManager, @NonNull NettyNetworkServer networkServer, @NonNull HostAndPort serverLocalAddress) Constructs a new network server handler instance.NettyNetworkServerInitializer(@NonNull EventManager eventManager, @NonNull NettyNetworkServer networkServer, @NonNull HostAndPort serverLocalAddress) Constructs a new network initializer instance. -
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.