I'm looking at your filter and have one question about how to use it. In the constructor you have two SocketAddresses. One is local and the other is not. Can you explain what the difference is between the two?
public ReconnectionFilter(int delay, IoConnector connector, IoHandler handler, SocketAddress address,
Also, if I'm creating my initial connection with something like this, I only have one SocketAddress (in this case an instance of InetSocketAddress):
ConnectFuture future = connector.connect(new InetSocketAddress(
.getJabberServerPort()), (IoHandler) sessionHandler);
In my case, what would I use for the two SocketAddresses in the ReconnectFilter?
I suppose I can modify your code to only use one SocketConnection as I'm doing (ConnectFuture future = connector.connect(address, handler);), but I really would like to understand what you are doing before I go ahead and do that.
Thanks for any help you can provide.
I'm checking it out now.
-ChrisOn 12/27/05, Julien Vermillard < email@example.com> wrote:It's here
Le mardi 27 décembre 2005 à 11:12 -0500, Chris Allen a écrit :
> Niklas wrote:
> >We have plans to implement a ReconnectFilter for MINA. There is a
> >in JIRA but it hasn't been applied yet. It may be used to
> >reconnect a session which has been closed.
> Any idea when this might be completed? Did you guys start this at
> all, and if so, is there someplace I can find the source of it?