Class QUICTransport
java.lang.Object
com.hypixel.hytale.server.core.io.transport.QUICTransport
- All Implemented Interfaces:
Transport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.netty.bootstrap.Bootstrapprivate final io.netty.bootstrap.Bootstrapstatic final io.netty.util.AttributeKey<X509Certificate> private static final com.hypixel.hytale.logger.HytaleLoggerprivate final io.netty.channel.EventLoopGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFuturebind(InetSocketAddress address) getType()voidshutdown()
-
Field Details
-
LOGGER
private static final com.hypixel.hytale.logger.HytaleLogger LOGGER -
CLIENT_CERTIFICATE_ATTR
-
workerGroup
@Nonnull private final io.netty.channel.EventLoopGroup workerGroup -
bootstrapIpv4
private final io.netty.bootstrap.Bootstrap bootstrapIpv4 -
bootstrapIpv6
private final io.netty.bootstrap.Bootstrap bootstrapIpv6
-
-
Constructor Details
-
QUICTransport
- Throws:
InterruptedException
-
-
Method Details
-
getType
-
bind
public io.netty.channel.ChannelFuture bind(@Nonnull InetSocketAddress address) throws InterruptedException - Specified by:
bindin interfaceTransport- Throws:
InterruptedException
-
shutdown
public void shutdown()
-