users@grizzly.java.net

Examples

From: Peter Murray <peter.murray_at_FXALL.com>
Date: Wed, 23 Jan 2008 10:11:51 -0500

Erik,
Can you post your working code?
There is a grizzly/examples in the SVN tree. Can we start putting
examples which we develop in this tree or is there another place to
put "public" examples?


Peter



With Oleksiys help my example worked.
I've modified TCPConnectorHandler:connect(SocketAddress remoteAddres,
SocketAddress localAddress) to check for a callbackHandler and if one
isn't
installed it creates one (identical to the one created if controller ==
null). This makes TCPConnectorHandler a bit easier to use for the the
most
common case.


cheers

Erik Svensson, SIX AB



Peter Murray
Manager,
Relationship Trading

peter.murray_at_fxall.com
Office: +1 646-268-9916
Cell : +1 914-414-3727
AIM : retepmurray