client connecting to multiple servers?

Johnny Luong johnny.luong at trustcommerce.com
Thu Aug 5 15:54:10 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bota999 wrote:
| Hi,
|   Thanks for all the help from experts in the forum, i have started
enjoying
| netty.
| Now i want my client to conect to multiple servers and then process
messages
| to/from each server. What do i have to keep in mind and how do i keep two
| channels separate?.
|
| Any example should be much appreciated as it will give a starting point.
|
| regards,
| bota

The simplest way probably is to have multiple clientbootstrap (so you
can have settings for those individual connections) and using the
recommended approach for creating a pipeline described under the
clientbootstrap javadoc.

Hope that helps,
Johnny

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkxbFuIACgkQg7TIS7A9iscFqgCeO3RAIcgQi+GGihW3h0MiWBCw
eh4AoIJHvkEBo9gGmHgjvdMfFZ/m4tAj
=O7wE
-----END PGP SIGNATURE-----


More information about the netty-users mailing list