Question about setting default socket connection values for the PServerConnection.
"Anurag Govil" <[email protected]> Wed, 19 Apr 2006 14:50:51 -0400
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <208E7A7DDF2CCB43B3BCA1C48017F517059C4A18@hercules.int.radpharm.com> |
------_=_NextPart_001_01C663E2.2E384A0B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi We have had significant problems using the library because our socket connections to the host were not opening correctly using the PServerConnection interface. It was also difficult to get code in sync with the generated jar files, since I could not get the tags of the built jars. The only way that I got the code to work (This is w.r.t to version 1.29 of org/netbeans/lib/cvsclient/connection/PServerConnection) was to change the way the SocketFactory was set up.=20 diff PServerConnection.java PServerConnection.java.bak=20 119c119 < protected SocketFactory socketFactory; --- > protected SocketFactory socketFactory=3DSocketFactory.getDefault(); Is there a way to set up the library to do this by default, or should this be an addition to the netbeans code base itself? Thanks, Anurag This message is intended for the exclusive use of the individual or = entity that is the named addressee and may contain information that is = privileged or confidential. If you are not the named addressee or an = employee or agent responsible for delivering this message to the named = addressee, you are not authorized to read, print, retain, copy or = disseminate this message or any part of it. If you have received this = message in error, please notify us immediately by e-mail, discard any = paper copies and delete all electronic files of the message ------_=_NextPart_001_01C663E2.2E384A0B Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD> <BODY> <DIV> <P><FONT face=3DArial><FONT size=3D2><SPAN=20 class=3D865234718-19042006>Hi</SPAN></FONT></FONT></P> <P><FONT face=3DArial><FONT size=3D2><FONT><SPAN = class=3D865234718-19042006>We have=20 </SPAN>had significant problems using the library because our socket = connections=20 to the host were not opening correctly using the PServerConnection = interface. It=20 was also difficult to get code<SPAN class=3D865234718-19042006> = </SPAN>in sync=20 with the generated jar files, since I could not get the tags of the = built=20 jars<SPAN class=3D865234718-19042006>. </SPAN><SPAN=20 class=3D865234718-19042006>T</SPAN>he only way that I got the code = to <SPAN=20 class=3D865234718-19042006> </SPAN>work (This is w.r.t to version 1.29 = of<SPAN=20 class=3D865234718-19042006>=20 </SPAN></FONT>org/netbeans/lib/cvsclient/connection/PServerConnection)</F= ONT></FONT></P> <P><FONT face=3DArial size=3D2>was to change<SPAN = class=3D865234718-19042006> the way=20 the SocketFactory was set up. </SPAN></FONT></P> <P><FONT face=3DArial size=3D2><SPAN = class=3D865234718-19042006></SPAN></FONT><FONT=20 face=3DArial size=3D2>diff PServerConnection.java = PServerConnection.java.bak=20 </FONT></P> <P><FONT face=3DArial size=3D2>119c119</FONT></P> <P><FONT face=3DArial size=3D2>< protected SocketFactory=20 socketFactory;</FONT></P> <P><FONT face=3DArial size=3D2>---</FONT></P> <P><FONT face=3DArial size=3D2>> protected SocketFactory <SPAN=20 class=3D865234718-19042006>=20 </SPAN>socketFactory=3DSocketFactory.getDefault();</FONT></P> <P><FONT face=3DArial size=3D2>Is there a way to set up the library to = do this by=20 default, or should this be an addition to the netbeans code base=20 itself?</FONT></P> <P><FONT face=3DArial size=3D2>Thanks<SPAN=20 class=3D865234718-19042006>,</SPAN></FONT></P> <P><FONT face=3DArial size=3D2><SPAN=20 class=3D865234718-19042006></SPAN>Anurag</FONT></P></DIV></BODY><!--[obje= ct_id=3D#radpharm.com#]--><P align=3Dcenter><FONT face=3DTahoma = size=3D2><FONT color=3D#0000ff>This message is intended for the = exclusive use of the individual or entity that is the named addressee = and may contain information that is privileged or confidential. If you = are not the named addressee or an employee or agent responsible for = delivering this message to the named addressee, you are not authorized = to read, print, retain, copy or disseminate this message or any part of = it. If you have received this message in error, please notify us = immediately by e-mail, discard any paper copies and delete all = electronic files of the message</FONT></FONT></P></HTML> ------_=_NextPart_001_01C663E2.2E384A0B--