public abstract class SocketTest<T extends io.netty.channel.unix.Socket> extends Object
| Constructor and Description |
|---|
SocketTest() |
| Modifier and Type | Method and Description |
|---|---|
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 T extends io.netty.channel.unix.Socket socket
protected abstract T newSocket()
@BeforeEach public void setup()
@AfterEach
public void tearDown()
throws IOException
IOException@Test
public void testReceivedBufferSize()
throws Exception
Exception@Test
public void testDoubleCloseDoesNotThrow()
throws IOException
IOException@Test
public void testTrafficClass()
throws IOException
IOException@Test
public void testIntOpt()
throws IOException
IOException@Test
public void testRawOpt()
throws IOException
IOExceptionprotected int level()
protected int optname()
Copyright © 2008–2022 The Netty Project. All rights reserved.