@Timeout(value=20000L,
unit=MILLISECONDS)
public class SocketHalfClosedTest
extends AbstractSocketTest
AbstractComboTestsuiteTest.Runner<SB extends io.netty.bootstrap.AbstractBootstrap<?,?>,CB extends io.netty.bootstrap.AbstractBootstrap<?,?>>cb, logger, sb| Constructor and Description |
|---|
SocketHalfClosedTest() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
maxReadCompleteWithNoDataAfterInputShutdown() |
void |
testAllDataReadAfterHalfClosure(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb) |
void |
testAllDataReadAfterHalfClosure(org.junit.jupiter.api.TestInfo testInfo) |
void |
testAllDataReadClosure(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb) |
void |
testAllDataReadClosure(org.junit.jupiter.api.TestInfo testInfo) |
void |
testAllDataReadEventTriggeredAfterHalfClosure(org.junit.jupiter.api.TestInfo testInfo) |
void |
testAutoCloseFalseDoesShutdownOutput(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb) |
void |
testAutoCloseFalseDoesShutdownOutput(org.junit.jupiter.api.TestInfo testInfo) |
void |
testHalfClosureOnlyOneEventWhenAutoRead(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb) |
void |
testHalfClosureOnlyOneEventWhenAutoRead(org.junit.jupiter.api.TestInfo testInfo) |
void |
testHalfClosureReceiveDataOnFinalWait2StateWhenSoLingerSet(org.junit.jupiter.api.TestInfo testInfo) |
configure, newFactories, newSocketAddressnewAllocators, runprotected int maxReadCompleteWithNoDataAfterInputShutdown()
@Test
public void testAllDataReadEventTriggeredAfterHalfClosure(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwable@Test
public void testHalfClosureReceiveDataOnFinalWait2StateWhenSoLingerSet(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwable@Test
@Timeout(value=10000L,
unit=MILLISECONDS)
public void testHalfClosureOnlyOneEventWhenAutoRead(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testHalfClosureOnlyOneEventWhenAutoRead(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwable@Test
public void testAllDataReadAfterHalfClosure(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testAllDataReadAfterHalfClosure(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwable@Test
public void testAutoCloseFalseDoesShutdownOutput(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testAutoCloseFalseDoesShutdownOutput(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb)
throws Throwable
Throwable@Test
public void testAllDataReadClosure(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
ThrowableCopyright © 2008–2025 The Netty Project. All rights reserved.