activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1032819 - /activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
Date Tue, 09 Nov 2010 02:29:02 GMT
Author: chirino
Date: Tue Nov  9 02:29:01 2010
New Revision: 1032819

URL: http://svn.apache.org/viewvc?rev=1032819&view=rev
Log:
Allow folks to get the socket assoicated /w a tcp transport.

Modified:
    activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java

Modified: activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java?rev=1032819&r1=1032818&r2=1032819&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-tcp/src/main/java/org/apache/activemq/apollo/transport/tcp/TcpTransport.java
Tue Nov  9 02:29:01 2010
@@ -29,6 +29,7 @@ import org.fusesource.hawtdispatch.Retai
 
 import java.io.IOException;
 import java.net.*;
+import java.nio.channels.Channel;
 import java.nio.channels.SelectionKey;
 import java.nio.channels.SocketChannel;
 import java.util.LinkedList;
@@ -531,4 +532,8 @@ public class TcpTransport extends JavaBa
         }
     }
 
+    public SocketChannel getSocketChannel() {
+        return channel;
+    }
+
 }



Mime
View raw message