public class MinaRegressionTest
extends org.apache.mina.core.service.IoHandlerAdapter
Modifier and Type | Field and Description |
---|---|
org.apache.mina.transport.socket.SocketAcceptor |
acceptor |
org.apache.mina.transport.socket.SocketConnector |
connector |
static int |
MSG_COUNT |
static int |
MSG_SIZE |
static String |
OPEN |
static AtomicInteger |
sent |
Constructor and Description |
---|
MinaRegressionTest() |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable cause) |
static void |
main(String[] args) |
void |
messageSent(org.apache.mina.core.session.IoSession session,
Object message) |
public static final int MSG_SIZE
public static final int MSG_COUNT
public static final String OPEN
public org.apache.mina.transport.socket.SocketAcceptor acceptor
public org.apache.mina.transport.socket.SocketConnector connector
public static AtomicInteger sent
public MinaRegressionTest() throws IOException
IOException
public void exceptionCaught(org.apache.mina.core.session.IoSession session, Throwable cause)
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
exceptionCaught
in class org.apache.mina.core.service.IoHandlerAdapter
public void messageSent(org.apache.mina.core.session.IoSession session, Object message) throws Exception
messageSent
in interface org.apache.mina.core.service.IoHandler
messageSent
in class org.apache.mina.core.service.IoHandlerAdapter
Exception
Copyright © 2004–2019 Apache MINA Project. All rights reserved.