public class SocketConnectionAttemptTest extends AbstractClientSocketTest
AbstractTestsuiteTest.Runner<CB extends io.netty.bootstrap.AbstractBootstrap<?,?>>cb, logger| Constructor and Description |
|---|
SocketConnectionAttemptTest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isConnectCancellationSupported(io.netty.channel.Channel channel) |
void |
testConnectCancellation(io.netty.bootstrap.Bootstrap cb) |
void |
testConnectCancellation(org.junit.jupiter.api.TestInfo testInfo) |
void |
testConnectRefused(io.netty.bootstrap.Bootstrap cb) |
void |
testConnectRefused(org.junit.jupiter.api.TestInfo testInfo) |
void |
testConnectRefusedHalfClosure(io.netty.bootstrap.Bootstrap cb) |
void |
testConnectRefusedHalfClosure(org.junit.jupiter.api.TestInfo testInfo) |
void |
testConnectTimeout(io.netty.bootstrap.Bootstrap cb) |
void |
testConnectTimeout(org.junit.jupiter.api.TestInfo testInfo) |
configure, newFactories, newSocketAddressnewAllocators, run@Test
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testConnectTimeout(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testConnectTimeout(io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwable@Test
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testConnectRefused(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testConnectRefused(io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwable@Test
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testConnectRefusedHalfClosure(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testConnectRefusedHalfClosure(io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwable@Test
public void testConnectCancellation(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testConnectCancellation(io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwableprotected boolean isConnectCancellationSupported(io.netty.channel.Channel channel)
Copyright © 2008–2025 The Netty Project. All rights reserved.