Permalink
Browse files

THRIFT-1053. Provide a getUnderlyingTransport function for TSaslTrans…

…port

Patch: Devaraj Das


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1067719 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent a026b5d commit 56c2d5682e1122917465e704a43e5c3ae2f6eb99 @toddlipcon toddlipcon committed Feb 6, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/java/src/org/apache/thrift/transport/TSaslTransport.java
@@ -315,6 +315,14 @@ public SaslClient getSaslClient() {
}
/**
+ * Get the underlying transport that Sasl is using.
+ * @return The <code>TTransport</code> transport
+ */
+ public TTransport getUnderlyingTransport() {
+ return underlyingTransport;
+ }
+
+ /**
* Get the underlying <code>SaslServer</code>.
*
* @return The <code>SaslServer</code>, or <code>null</code> if this transport

0 comments on commit 56c2d56

Please sign in to comment.