public abstract class SocketTest<T extends Socket>
extends java.lang.Object
构造器和说明 |
---|
SocketTest() |
限定符和类型 | 方法和说明 |
---|---|
protected int |
level() |
protected abstract T |
newSocket() |
protected int |
optname() |
void |
setup() |
void |
tearDown() |
void |
testDoubleCloseDoesNotThrow() |
void |
testIntOpt() |
void |
testKeepAlive() |
void |
testRawOpt() |
void |
testReceivedBufferSize() |
void |
testSendBufferSize() |
void |
testSoLinger() |
void |
testTcpNoDelay() |
void |
testTrafficClass() |
protected abstract T newSocket()
public void setup()
public void tearDown() throws java.io.IOException
java.io.IOException
public void testKeepAlive() throws java.lang.Exception
java.lang.Exception
public void testTcpNoDelay() throws java.lang.Exception
java.lang.Exception
public void testReceivedBufferSize() throws java.lang.Exception
java.lang.Exception
public void testSendBufferSize() throws java.lang.Exception
java.lang.Exception
public void testSoLinger() throws java.lang.Exception
java.lang.Exception
public void testDoubleCloseDoesNotThrow() throws java.io.IOException
java.io.IOException
public void testTrafficClass() throws java.io.IOException
java.io.IOException
public void testIntOpt() throws java.io.IOException
java.io.IOException
public void testRawOpt() throws java.io.IOException
java.io.IOException
protected int level()
protected int optname()