public abstract class AbstractSocketShutdownOutputByPeerTest<Socket> extends AbstractServerSocketTest
cb, logger, testName| 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() |
void |
testShutdownOutput(io.netty.bootstrap.ServerBootstrap sb) |
void |
testShutdownOutputWithoutOption() |
void |
testShutdownOutputWithoutOption(io.netty.bootstrap.ServerBootstrap sb) |
protected abstract void |
write(Socket s,
int data) |
configure, newFactories, newSocketAddressnewAllocators, runpublic AbstractSocketShutdownOutputByPeerTest()
public void testShutdownOutput(io.netty.bootstrap.ServerBootstrap sb)
throws Throwable
Throwablepublic void testShutdownOutputWithoutOption()
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–2020 The Netty Project. All rights reserved.