public abstract class AbstractSocketShutdownOutputByPeerTest<Socket> extends AbstractServerSocketTest
AbstractTestsuiteTest.Runner<CB extends io.netty.bootstrap.AbstractBootstrap<?,?>>cb, logger| Constructor and Description |
|---|
AbstractSocketShutdownOutputByPeerTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
close(Socket s) |
protected abstract void |
connect(Socket s,
SocketAddress address) |
protected abstract Socket |
newSocket() |
protected abstract void |
shutdownOutput(Socket s) |
void |
testShutdownOutput(io.netty.bootstrap.ServerBootstrap sb) |
void |
testShutdownOutput(org.junit.jupiter.api.TestInfo testInfo) |
void |
testShutdownOutputWithoutOption(io.netty.bootstrap.ServerBootstrap sb) |
void |
testShutdownOutputWithoutOption(org.junit.jupiter.api.TestInfo testInfo) |
protected abstract void |
write(Socket s,
int data) |
configure, newFactories, newSocketAddressnewAllocators, runpublic AbstractSocketShutdownOutputByPeerTest()
@Test
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testShutdownOutput(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testShutdownOutput(io.netty.bootstrap.ServerBootstrap sb)
throws Throwable
Throwable@Test
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testShutdownOutputWithoutOption(org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testShutdownOutputWithoutOption(io.netty.bootstrap.ServerBootstrap sb)
throws Throwable
Throwableprotected abstract void shutdownOutput(Socket s) throws IOException
IOExceptionprotected abstract void connect(Socket s, SocketAddress address) throws IOException
IOExceptionprotected abstract void close(Socket s) throws IOException
IOExceptionprotected abstract void write(Socket s, int data) throws IOException
IOExceptionprotected abstract Socket newSocket()
Copyright © 2008–2025 The Netty Project. All rights reserved.