(Catching up countless messages without replies...)
On 7/18/06, Joao <[EMAIL PROTECTED]> wrote:
I am running a kinda proxy server which connects to an upstream
server.
I wish I could have a thread to receive , and another thread to send
information thru the connector.
Can I do that without changing the current connector behavior?
May be that's should not be the best advice on the issue , any
opinion about it?
We've added a proxy example to MINA 1.0 which might interest you. But you
cannot use such thread model for now because it is completely up to I/O
processor. For now, one I/O thread takes care of both receiving and
sending. Is there any reason that you need two threads for I/O? Actually
using two threads to handle I/O of one connection causes a lot of problem.
HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6