commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (NET-382) Subclasses of SocketClient should use _input_ and _output_ rather than calling _socket_.getInputStream() etc
Date Sat, 19 Mar 2011 16:00:29 GMT

     [ https://issues.apache.org/jira/browse/NET-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated NET-382:
---------------------

    Description: 
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.

  was:
SocketClient._connectAction() sets up _input_ and _output_ from _socket_ so it is wasteful
to do this again in subclasses.

Potentially consider making _socket_ private?


> 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: Bug
>            Reporter: Sebb
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message