public class DatagramUnicastInetTest extends DatagramUnicastTest
DatagramUnicastTest.WrapType
AbstractComboTestsuiteTest.Runner<SB extends AbstractBootstrap<?,?>,CB extends AbstractBootstrap<?,?>>
cb, logger, sb
构造器和说明 |
---|
DatagramUnicastInetTest() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
isConnected(Channel channel) |
protected Channel |
setupClientChannel(Bootstrap cb,
byte[] bytes,
java.util.concurrent.CountDownLatch latch,
java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> errorRef) |
protected Channel |
setupServerChannel(Bootstrap sb,
byte[] bytes,
java.net.SocketAddress sender,
java.util.concurrent.CountDownLatch latch,
java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> errorRef,
boolean echo) |
protected boolean |
supportDisconnect() |
void |
testBindWithPortOnly(TestInfo testInfo) |
protected ChannelFuture |
write(Channel cc,
ByteBuf buf,
java.net.SocketAddress remote,
DatagramUnicastTest.WrapType wrapType) |
closeChannel, disconnectMightFail, sendToAddress, testReceiveEmptyDatagrams, testReceiveEmptyDatagrams, testSendToUnresolvableAddress, testSendToUnresolvableAddress, testSimpleSendCompositeDirectByteBuf, testSimpleSendCompositeDirectByteBuf, testSimpleSendCompositeHeapByteBuf, testSimpleSendCompositeHeapByteBuf, testSimpleSendCompositeMixedByteBuf, testSimpleSendCompositeMixedByteBuf, testSimpleSendDirectByteBuf, testSimpleSendDirectByteBuf, testSimpleSendHeapByteBuf, testSimpleSendHeapByteBuf, testSimpleSendWithConnect, testSimpleSendWithConnect, testSimpleSendWithoutBind, testSimpleSendWithoutBind
configure, groupInternetProtocalFamily, internetProtocolFamily, newFactories, newSocketAddress, socketInternetProtocalFamily
newAllocators, run
public void testBindWithPortOnly(TestInfo testInfo) throws java.lang.Throwable
java.lang.Throwable
protected boolean isConnected(Channel channel)
isConnected
在类中 DatagramUnicastTest
protected Channel setupClientChannel(Bootstrap cb, byte[] bytes, java.util.concurrent.CountDownLatch latch, java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> errorRef) throws java.lang.Throwable
setupClientChannel
在类中 DatagramUnicastTest
java.lang.Throwable
protected Channel setupServerChannel(Bootstrap sb, byte[] bytes, java.net.SocketAddress sender, java.util.concurrent.CountDownLatch latch, java.util.concurrent.atomic.AtomicReference<java.lang.Throwable> errorRef, boolean echo) throws java.lang.Throwable
setupServerChannel
在类中 DatagramUnicastTest
java.lang.Throwable
protected boolean supportDisconnect()
supportDisconnect
在类中 DatagramUnicastTest
protected ChannelFuture write(Channel cc, ByteBuf buf, java.net.SocketAddress remote, DatagramUnicastTest.WrapType wrapType)
write
在类中 DatagramUnicastTest