On 7/8/06, peter royal <[EMAIL PROTECTED]> wrote:

On Jul 7, 2006, at 12:16 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
wrote:
> Is there a way for me produce an IoAcceptor behaviour on the client
> side? A shared across IoHandler for connectors (of course with
> different sessions).

sure, just pass the same IoHandler instance in each time you
call .connect() :)


Exactly.  BTW we cannot assume that we will call connect() just once, so the
IoHandler implementation shouldn't assume it is handling only one
connection.  For convenience, an implementor could use
org.apache.mina.handler.multiton package.

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

Reply via email to