[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/multiplex ...
Ron Sigal
ron_sigal at yahoo.com
Wed Aug 9 15:44:42 EDT 2006
User: rsigal
Date: 06/08/09 15:44:42
Modified: src/main/org/jboss/remoting/transport/multiplex
VirtualSocket.java
Log:
JBREM-574: Modified toString() to write information from actual socket, including SSL information.
Revision Changes Path
1.50 +15 -0 JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/VirtualSocket.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: VirtualSocket.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/VirtualSocket.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- VirtualSocket.java 22 Jul 2006 22:15:20 -0000 1.49
+++ VirtualSocket.java 9 Aug 2006 19:44:42 -0000 1.50
@@ -857,6 +857,21 @@
}
+/**
+ * See superclass javadoc.
+ */
+ public String toString()
+ {
+ StringBuffer answer = new StringBuffer().append("VirtualSocket[");
+
+ if (actualSocket == null)
+ answer.append("unbound");
+ else
+ answer.append(actualSocket.toString());
+
+ return answer.append("]").toString();
+ }
+
//////////////////////////////////////////////////////////////////////////////////////////////////
/// The following methods are specific to VirtualSockets ///
//////////////////////////////////////////////////////////////////////////////////////////////////
More information about the jboss-cvs-commits
mailing list