2022-04-09 02:45:57 +02:00
|
|
|
package it.cavallium.dbengine.database.server;
|
2022-03-06 12:22:50 +01:00
|
|
|
|
|
|
|
import io.micrometer.core.instrument.composite.CompositeMeterRegistry;
|
2022-10-02 03:10:38 +02:00
|
|
|
import io.netty5.buffer.BufferAllocator;
|
2022-04-09 02:45:57 +02:00
|
|
|
import it.cavallium.dbengine.database.remote.LLQuicConnection;
|
2022-03-06 12:22:50 +01:00
|
|
|
import java.net.InetSocketAddress;
|
|
|
|
|
|
|
|
public class TestDbClient {
|
|
|
|
|
|
|
|
public static LLQuicConnection create(BufferAllocator allocator,
|
|
|
|
CompositeMeterRegistry meterRegistry,
|
|
|
|
InetSocketAddress serverAddress) {
|
|
|
|
return new LLQuicConnection(allocator,
|
|
|
|
meterRegistry,
|
|
|
|
new InetSocketAddress(0),
|
|
|
|
serverAddress
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|