Author: ron.sigal(a)jboss.com
Date: 2009-04-22 19:58:56 -0400 (Wed, 22 Apr 2009)
New Revision: 5083
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketWrapper.java
Log:
JBREM-1120: Added WRITE_TIMEOUT constant; also, removed some old commented code.
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketWrapper.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketWrapper.java 2009-04-22
23:58:00 UTC (rev 5082)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketWrapper.java 2009-04-22
23:58:56 UTC (rev 5083)
@@ -42,6 +42,7 @@
public static final String MARSHALLER = "marshaller";
public static final String UNMARSHALLER = "unmarshaller";
public static final String TEMP_TIMEOUT = "temptimeout";
+ public static final String WRITE_TIMEOUT = "writeTimeout";
protected static final int CLOSING = 254;
@@ -93,35 +94,6 @@
public void close() throws IOException
{
-// InputStream in = getInputStream();
-// if (in != null)
-// {
-// try
-// {
-// log.trace(this + " closing input stream");
-// in.close();
-// log.trace(this + " closed input stream");
-// }
-// catch (IOException e)
-// {
-// log.debug(this + " unable to close input stream");
-// }
-// }
-// OutputStream out = getOutputStream();
-// if (out != null)
-// {
-// try
-// {
-// log.trace(this + " closing output stream");
-// out.close();
-// log.trace(this + " closed input stream");
-// }
-// catch (IOException e)
-// {
-// log.debug(this + " unable to close output stream");
-// }
-// }
-
if(socket != null)
{
log.trace(this + " closing socket");
Show replies by date