3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +01:00
Dieser Commit ist enthalten in:
xDark 2020-07-30 17:36:57 +03:00
Ursprung d65507d4d5
Commit 6379936f32

Datei anzeigen

@ -42,13 +42,13 @@ enum TransportType {
final BiFunction<String, Type, EventLoopGroup> eventLoopGroupFactory;
TransportType(final String name,
final ChannelFactory<? extends ServerSocketChannel> serverSocketChannelFactory,
final Class<? extends ServerSocketChannel> serverSocketChannelClass,
final ChannelFactory<? extends SocketChannel> socketChannelFactory,
final Class<? extends SocketChannel> socketChannelClass,
final ChannelFactory<? extends DatagramChannel> datagramChannelFactory,
final Class<? extends DatagramChannel> datagramChannelClass,
final BiFunction<String, Type, EventLoopGroup> eventLoopGroupFactory) {
final ChannelFactory<? extends ServerSocketChannel> serverSocketChannelFactory,
final Class<? extends ServerSocketChannel> serverSocketChannelClass,
final ChannelFactory<? extends SocketChannel> socketChannelFactory,
final Class<? extends SocketChannel> socketChannelClass,
final ChannelFactory<? extends DatagramChannel> datagramChannelFactory,
final Class<? extends DatagramChannel> datagramChannelClass,
final BiFunction<String, Type, EventLoopGroup> eventLoopGroupFactory) {
this.name = name;
this.serverSocketChannelClass = serverSocketChannelClass;
this.socketChannelClass = socketChannelClass;