public class AsynchronousHandlerTest 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 |
---|
AsynchronousHandlerTest(Properties p)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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
NioManager transport mechanism. |
protected static final SslFilterFactory serverSslFilterFactory
SslFilterFactory
.protected static final SslFilterFactory clientSslFilterFactory
SslFilterFactory
.public AsynchronousHandlerTest(Properties p)
public static final Collection<Object[]> parameters()
public void init()
public void testTransport() throws Exception
NioManager
transport mechanism. The sender sends TestXmlEvent.DataXmlEvent
s to the receiver,
whereupon the results are checked.Exception
- when something goes awry.public void destroy()