public abstract class AbstractSocketShutdownOutputByPeerTest<Socket> extends AbstractServerSocketTest
AbstractTestsuiteTest.Runner<CB extends AbstractBootstrap<?,?>>cb, logger| 构造器和说明 |
|---|
AbstractSocketShutdownOutputByPeerTest() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
close(Socket s) |
protected abstract void |
connect(Socket s,
java.net.SocketAddress address) |
protected abstract Socket |
newSocket() |
protected abstract void |
shutdownOutput(Socket s) |
void |
testShutdownOutput(TestInfo testInfo) |
void |
testShutdownOutputWithoutOption(TestInfo testInfo) |
protected abstract void |
write(Socket s,
int data) |
configure, newFactories, newSocketAddressnewAllocators, runpublic void testShutdownOutput(TestInfo testInfo)
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownOutputWithoutOption(TestInfo testInfo)
throws java.lang.Throwable
java.lang.Throwableprotected abstract void shutdownOutput(Socket s) throws java.io.IOException
java.io.IOExceptionprotected abstract void connect(Socket s, java.net.SocketAddress address) throws java.io.IOException
java.io.IOExceptionprotected abstract void close(Socket s) throws java.io.IOException
java.io.IOExceptionprotected abstract void write(Socket s, int data) throws java.io.IOException
java.io.IOExceptionprotected abstract Socket newSocket()