Hi, I implemented a PeerServer and a PeerClient using SocketAcceptor and a SocketConnector, and they performed good on both side, the scalability, throughput and stability were good. Then I wanted to do something else --- put PeerServer and PeerClient together in an application, since it is named Peer. There were 2 threads in SocketAcceptor and SocketConnector --- both of which contains a Worker and a SocketIoProccessor, they are doing similar things, so I want to combine them together, then I can use 1 selector thread(acceptor or connector worker) and 1 IO proccessor thread to do both things.
Summary: Combine SocketAcceptor and SocketConnector to use 1 worker and 1 SocketIoProccessor How can I do this? Any hint is welcome, thank you. -- View this message in context: http://www.nabble.com/Combine-a-SocketConnector-and-a-SocketAcceptor-tf4651519s16868.html#a13289565 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.
