I would like to know how to resume an IoSession after a disconnect.
My application queries a server on port A using Mina.
Answer from query triggers an FTP upload on port B. Depending on the
time it takes to perform the FTP upload, the connection to A will
teminate (the remote host reboots due to the ftp upload to apply the
changes). And then I want to resume my session. How should I go about
doing that?
I really want to resume my session since my transaction context are
stored in the session and because my code is structured around Mina
StateMachine, I don't want to loose the state I am in!
Thanks,
Simon