public class SynchronousHandlerTest extends Object
NioManager
.Modifier and Type | Field and Description |
---|---|
protected static SslFilterFactory |
clientSslFilterFactory
The client
SslFilterFactory . |
protected static SslFilterFactory |
serverSslFilterFactory
The server
SslFilterFactory . |
Constructor and Description |
---|
SynchronousHandlerTest(Properties p)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static ByteBuffer |
createMessage(int offset,
int size)
Creates a message.
|
protected Callable<?> |
createReceiver(int index,
InetSocketAddress localAddress)
Creates a receiving verifier.
|
protected Callable<?> |
createSender(int index,
InetSocketAddress remoteAddress)
Creates a sending verifier.
|
void |
destroy()
Destroys the sender and the receiver.
|
void |
init()
Creates a sender and a receiver.
|
static Collection<Object[]> |
parameters()
Derives testing parameters.
|
void |
testTransport()
Tests the transport capabilities of synchronous connections.
|
protected static final SslFilterFactory serverSslFilterFactory
SslFilterFactory
.protected static final SslFilterFactory clientSslFilterFactory
SslFilterFactory
.public SynchronousHandlerTest(Properties p)
public static final Collection<Object[]> parameters()
public void init()
public void testTransport() throws Exception
Exception
- when something goes awry.protected Callable<?> createReceiver(int index, InetSocketAddress localAddress)
protected Callable<?> createSender(int index, InetSocketAddress remoteAddress)
protected static final ByteBuffer createMessage(int offset, int size)
public void destroy()