Re: [JSch-users] closing forwaded port
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2003-06-13 21:18:17
|
Hi, I'm sorry for my delay. # I'm still at JavaOne. +-From: "B. Scott Smith" <sc...@sm...> -- |_Date: Wed, 11 Jun 2003 02:43:20 -0400 ___________ | | 1) Changed the Enumerations to Iterators. Removing the elements |while traversing the Enumeration was causing the "every other port |cleanup" issue. | 2) Throw an exception in the PortWatcher constructor. Because |you already modified setPortForwardingL( ) to throw an exception, |I added this to resolve another issue I was having. This allows me |to trap a failure and take corrective action in my applet if an |attempt is made to forward a port that is already bound by another |application. Thank you for feedbacks. I'll include them in the next release. |Also, I noticed you added a call to split( ) in JSch.java. This is |a very handy method, but it ties you to Java 1.4, so you may want |to implement an alternative. You are right. I'll re-implement that line in another way. Thank you for suggestion! Thanks, -- ymnk |