public class MinaRegressionTest extends IoHandlerAdapter
Modifier and Type | Field and Description |
---|---|
SocketAcceptor |
acceptor |
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(IoSession session,
Throwable cause) |
static void |
main(String[] args) |
void |
messageSent(IoSession session,
Object message) |
inputClosed, messageReceived, sessionClosed, sessionCreated, sessionIdle, sessionOpened
public static final int MSG_SIZE
public static final int MSG_COUNT
public static final String OPEN
public SocketAcceptor acceptor
public SocketConnector connector
public static AtomicInteger sent
public MinaRegressionTest() throws IOException
IOException
public void exceptionCaught(IoSession session, Throwable cause)
exceptionCaught
in interface IoHandler
exceptionCaught
in class IoHandlerAdapter
public void messageSent(IoSession session, Object message) throws Exception
messageSent
in interface IoHandler
messageSent
in class IoHandlerAdapter
Exception
Copyright © 2004–2018 Apache MINA Project. All rights reserved.