Fwd: Reconnection from a dropped AS400 object
Kelly Beard <[email protected]>
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <CAOvM2Sv2ThR7wUc0UcCVqevEUb5mAKmiqMP=4+8qMbSfwTxGig@mail.gmail.com> |
---------- Forwarded message --------- From: Kelly Beard <[email protected]> Date: Wed, Aug 21, 2019 at 10:08 AM Subject: Reconnection from a dropped AS400 object To: java400-l <java400-l-Zwy7GipZuJhWk0Htik3J/[email protected]> I wonder if there's a tried-and-true technique to cause a Java program to go to sleep when a connection of AS400 is dropped, say if a machine is IPL'd. I'm playing with the ConnectionListener stuff and the AS400JPing class. What I'm trying to do is cause a program to just go to sleep until the box and any service that I want to use is restored. What I wish the AS400 class had is a reconnect() method. Anyone doing anything like this? -- Kelly Beard -- This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/java400-l. Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com