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, newSocketAddress
newAllocators, run
public void testShutdownOutput(TestInfo testInfo) throws java.lang.Throwable
java.lang.Throwable
public void testShutdownOutputWithoutOption(TestInfo testInfo) throws java.lang.Throwable
java.lang.Throwable
protected abstract void shutdownOutput(Socket s) throws java.io.IOException
java.io.IOException
protected abstract void connect(Socket s, java.net.SocketAddress address) throws java.io.IOException
java.io.IOException
protected abstract void close(Socket s) throws java.io.IOException
java.io.IOException
protected abstract void write(Socket s, int data) throws java.io.IOException
java.io.IOException
protected abstract Socket newSocket()