Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D5A192AD for ; Thu, 5 Jan 2012 22:21:02 +0000 (UTC) Received: (qmail 91240 invoked by uid 500); 5 Jan 2012 22:21:01 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 91179 invoked by uid 500); 5 Jan 2012 22:21:01 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 91165 invoked by uid 99); 5 Jan 2012 22:21:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 22:21:00 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 22:21:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0969213ABAA for ; Thu, 5 Jan 2012 22:20:40 +0000 (UTC) Date: Thu, 5 Jan 2012 22:20:40 +0000 (UTC) From: "Sebb (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <707031370.11923.1325802040040.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <80691529.13696.1300549109558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (NET-382) Subclasses of SocketClient should use _input_ and _output_ rather than calling _socket_.getInputStream() etc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated NET-382: --------------------- Issue Type: Improvement (was: Bug) > Subclasses of SocketClient should use _input_ and _output_ rather than calling _socket_.getInputStream() etc > ------------------------------------------------------------------------------------------------------------ > > Key: NET-382 > URL: https://issues.apache.org/jira/browse/NET-382 > Project: Commons Net > Issue Type: Improvement > Reporter: Sebb > Attachments: sockclient-socket-private.diff > > > SocketClient._connectAction() sets up \_input\_ and \_output\_ from \_socket\_ so it is wasteful to do this again in subclasses. > Potentially consider making \_socket\_ private? > However, this would currently break most of the "S" versions of the protocols, unless SocketClient is extended to handle their needs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira